summaryrefslogtreecommitdiff
path: root/packages/nonworking/clucene/clucene_0.8.12-pre.bb
blob: 2c8122c921c38a68eccfff01ed4fe3b758137a14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DESCRIPTION = "CLucene is a C++ port of Lucene: the high-performance, full-featured text search engine written in Java."
SECTION = "libs"
LICENSE = "LGPL"
PRIORITY = "optional"
SRCDATE = "20040704"
SRC_URI = "cvs://anonymous@clucene.cvs.sourceforge.net/cvsroot/clucene;module=. \
	   file://compile-fix.patch;patch=1"
S = "${WORKDIR}"

inherit autotools

do_stage() {
	oe_libinstall -C src libclucene ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/CLucene/
	install src/CLucene.h ${STAGING_INCDIR}/CLucene/
	cd src
	headers=`find . -name "*.h"`
	for f in $headers
	do
		install -d ${STAGING_INCDIR}/`dirname $f`
		install -m 0644 $f ${STAGING_INCDIR}/$f
	done
	echo > ${STAGING_INCDIR}/CLucene/util/dirent.h
}