diff options
Diffstat (limited to 'packages/clucene/clucene_0.8.12-pre.bb')
-rw-r--r-- | packages/clucene/clucene_0.8.12-pre.bb | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/packages/clucene/clucene_0.8.12-pre.bb b/packages/clucene/clucene_0.8.12-pre.bb index e69de29bb2..83cbd68f25 100644 --- a/packages/clucene/clucene_0.8.12-pre.bb +++ b/packages/clucene/clucene_0.8.12-pre.bb @@ -0,0 +1,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 +} |