--- /dev/null
+DESCRIPTION = "CLucene is a C++ port of Lucene: the high-performance, full-featured text search engine written in Java."
+SECTION = "libs"
+LICENSE = "LGPL"
+
+DEPENDS = "libtool"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/clucene/clucene-core-${PV}.tar.bz2"
+
+inherit autotools
+
+EXTRA_OECONF = "--disable-multithreading dps_static_const_type=2"
+
+do_configure() {
+ gnu-configize
+ cp ${STAGING_DATADIR}/libtool/config.sub ${S}/config
+ oe_runconf
+}
+
+do_stage() {
+ autotools_stage_all
+}
+
+FILES_${PN}-dev += "${libdir}/CLucene"
+++ /dev/null
-
-#
-# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
-#
-
---- clucene-0.8.11-r0/src/CLucene/store/Lock.cpp~compile-fix 2004-04-13 15:43:21.000000000 +0200
-+++ clucene-0.8.11-r0/src/CLucene/store/Lock.cpp 2004-07-08 00:21:06.000000000 +0200
-@@ -1,6 +1,6 @@
- #include "CLucene/StdHeader.h"
- #include "Lock.h"
--
-+using namespace std;
- namespace lucene{ namespace store{
-
- LuceneLockWith::~LuceneLockWith(){
---- clucene-0.8.11-r0/Makefile.am~compile-fix 2003-11-04 07:54:04.000000000 +0100
-+++ clucene-0.8.11-r0/Makefile.am 2004-07-08 00:22:43.000000000 +0200
-@@ -2,4 +2,4 @@
-
- INCLUDES = -I$(top_srcdir)
-
--SUBDIRS = src wrappers examples .
-+SUBDIRS = src wrappers .
+++ /dev/null
-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
-}