diff options
author | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-05-04 12:18:54 +0000 |
---|---|---|
committer | Rolf Leggewie <oe-devel@rolf.leggewie.biz> | 2008-05-04 12:18:54 +0000 |
commit | 2c140aef109e137be70dd19872728143d81f98be (patch) | |
tree | 29b5dc490f798c6aac695b42c4a3d51e754519fb /packages/xapian/xapian-quickstart.inc | |
parent | e7005ef68aeb05f4656029050b31c44a8e09f167 (diff) |
xapian: commit my latest work on xapian-quickindex. partly closes 3711.
* xapian-quickindex looks like a good candidate for creating an offline wikipedia.
Diffstat (limited to 'packages/xapian/xapian-quickstart.inc')
-rw-r--r-- | packages/xapian/xapian-quickstart.inc | 20 |
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}/ +} |