summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/clucene/.mtn2git_empty (renamed from packages/nonworking/clucene/.mtn2git_empty)0
-rw-r--r--packages/clucene/clucene-core_0.9.21.bb23
-rw-r--r--packages/nonworking/clucene/clucene-0.8.12-pre/.mtn2git_empty0
-rw-r--r--packages/nonworking/clucene/clucene-0.8.12-pre/compile-fix.patch23
-rw-r--r--packages/nonworking/clucene/clucene_0.8.12-pre.bb24
5 files changed, 23 insertions, 47 deletions
diff --git a/packages/nonworking/clucene/.mtn2git_empty b/packages/clucene/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/nonworking/clucene/.mtn2git_empty
+++ b/packages/clucene/.mtn2git_empty
diff --git a/packages/clucene/clucene-core_0.9.21.bb b/packages/clucene/clucene-core_0.9.21.bb
new file mode 100644
index 0000000000..0416f9110e
--- /dev/null
+++ b/packages/clucene/clucene-core_0.9.21.bb
@@ -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
index e69de29bb2..0000000000
--- a/packages/nonworking/clucene/clucene-0.8.12-pre/.mtn2git_empty
+++ /dev/null
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
index 5f6c8f1911..0000000000
--- a/packages/nonworking/clucene/clucene-0.8.12-pre/compile-fix.patch
+++ /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
index 2c8122c921..0000000000
--- a/packages/nonworking/clucene/clucene_0.8.12-pre.bb
+++ /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
-}