python-pyrex: Rework DEPENDS updates
[openembedded.git] / recipes / xapian / xapian-quickstart.inc
blob920a48bfcd6ba407cbd448df8f5bb2e2e24fcbed
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}/