merge of '07a342693675fe2b1daacf0eb62302579d9fade3'
[org.openembedded.dev.git] / packages / xapian / xapian-quickstart.inc
blobaab599f64baf804a9078f4e150d9d24bd6809ee1
1 DESCRIPTION = "Simplest possible indexer (from an older release of xapian)."
2 HOMEPAGE = "http://users.softlab.ece.ntua.gr/~ttsiod/buildWikipediaOffline.html"
3 PRIORITY = "optional"
4 LICENSE = "GPL"
5 DEPENDS = "xapian-core"
7 BINARY_NAME = ${@bb.data.getVar("PN",d,1).replace("xapian-","").replace("-native","")}
8 S = "${WORKDIR}"
10 SRC_URI = "http://users.softlab.ece.ntua.gr/~ttsiod/${BINARY_NAME}.cc"
12 do_compile() {
13         ${CXX} ${CXXLAGS} ${LDFLAGS} -I${STAGING_INCDIR_NATIVE} -lxapian -o ${BINARY_NAME} ${BINARY_NAME}.cc
16 do_install() {
17         install -d ${D}$
18         install -d ${D}${bindir}
19         install -m 0755 ${WORKDIR}/${BINARY_NAME} ${D}${bindir}/