summaryrefslogtreecommitdiff
path: root/packages/xapian/xapian-quickstart.inc
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-05-05 19:11:03 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-05-05 19:11:03 +0000
commit66af3461a3fdf3eb7ceb76bb2a04e66be8283b8c (patch)
tree78f52aa29ac0f42c4aea59a4da6e8dab0c701ca4 /packages/xapian/xapian-quickstart.inc
parent9a1d156623f21d1f66c4314230056c8499d556f5 (diff)
parent50468ef124004fb33fa463842b2042de16082159 (diff)
merge of '2de318fc2a95854259cdc31038f89dae83fb0121'
and 'f94c84daf04e33f569fffdd3b60be112b594c750'
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}/
+}