clucene: raise it from the dead
authorKoen Kooi <koen@openembedded.org>
Thu, 4 Sep 2008 10:18:47 +0000 (10:18 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 4 Sep 2008 10:18:47 +0000 (10:18 +0000)
packages/clucene/.mtn2git_empty [moved from packages/nonworking/clucene/.mtn2git_empty with 100% similarity]
packages/clucene/clucene-core_0.9.21.bb [new file with mode: 0644]
packages/nonworking/clucene/clucene-0.8.12-pre/.mtn2git_empty [deleted file]
packages/nonworking/clucene/clucene-0.8.12-pre/compile-fix.patch [deleted file]
packages/nonworking/clucene/clucene_0.8.12-pre.bb [deleted file]

diff --git a/packages/clucene/clucene-core_0.9.21.bb b/packages/clucene/clucene-core_0.9.21.bb
new file mode 100644 (file)
index 0000000..0416f91
--- /dev/null
@@ -0,0 +1,23 @@
+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"
diff --git a/packages/nonworking/clucene/clucene-0.8.12-pre/.mtn2git_empty b/packages/nonworking/clucene/clucene-0.8.12-pre/.mtn2git_empty
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/packages/nonworking/clucene/clucene-0.8.12-pre/compile-fix.patch b/packages/nonworking/clucene/clucene-0.8.12-pre/compile-fix.patch
deleted file mode 100644 (file)
index 5f6c8f1..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-
-#
-# 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 .
diff --git a/packages/nonworking/clucene/clucene_0.8.12-pre.bb b/packages/nonworking/clucene/clucene_0.8.12-pre.bb
deleted file mode 100644 (file)
index 2c8122c..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-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
-}