blob: aab599f64baf804a9078f4e150d9d24bd6809ee1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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}/
}
|