summaryrefslogtreecommitdiff
path: root/packages/xapian/xapian-quickstart.inc
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-05-05 21:52:39 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-05-05 21:52:39 +0000
commit0fb268a8c03bbea4fc1f34a3b7a9ebe7a02c471d (patch)
treeccf99743568c299437bb03381b1625b8c0a838ee /packages/xapian/xapian-quickstart.inc
parent6165473d292012b6c60308c8eb0f3604a020b046 (diff)
parent66af3461a3fdf3eb7ceb76bb2a04e66be8283b8c (diff)
merge of '86dacb8c8e579fd5d42ab61a0c0f344bcf74146d'
and 'd4a97f257158aba4fde91347580030110ef215bf'
Diffstat (limited to 'packages/xapian/xapian-quickstart.inc')
-rw-r--r--packages/xapian/xapian-quickstart.inc20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/xapian/xapian-quickstart.inc b/packages/xapian/xapian-quickstart.inc
new file mode 100644
index 0000000000..aab599f64b
--- /dev/null
+++ b/packages/xapian/xapian-quickstart.inc
@@ -0,0 +1,20 @@
+DESCRIPTION = "Simplest possible indexer (from an older release of xapian)."
+HOMEPAGE = "http://users.softlab.ece.ntua.gr/~ttsiod/buildWikipediaOffline.html"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "xapian-core"
+
+BINARY_NAME = ${@bb.data.getVar("PN",d,1).replace("xapian-","").replace("-native","")}
+S = "${WORKDIR}"
+
+SRC_URI = "http://users.softlab.ece.ntua.gr/~ttsiod/${BINARY_NAME}.cc"
+
+do_compile() {
+ ${CXX} ${CXXLAGS} ${LDFLAGS} -I${STAGING_INCDIR_NATIVE} -lxapian -o ${BINARY_NAME} ${BINARY_NAME}.cc
+}
+
+do_install() {
+ install -d ${D}$
+ install -d ${D}${bindir}
+ install -m 0755 ${WORKDIR}/${BINARY_NAME} ${D}${bindir}/
+}