summaryrefslogtreecommitdiff
path: root/clucene/clucene_0.8.12-pre.oe
blob: 83cbd68f250fbd2fca13b267cf05b17e27c39755 (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"
CVSDATE = "20040704"
SRC_URI = "cvs://anonymous@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
}