summaryrefslogtreecommitdiff
path: root/packages/clucene
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/clucene
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/clucene')
-rw-r--r--packages/clucene/.mtn2git_empty0
-rw-r--r--packages/clucene/clucene-0.8.12-pre/.mtn2git_empty0
-rw-r--r--packages/clucene/clucene-0.8.12-pre/compile-fix.patch23
-rw-r--r--packages/clucene/clucene_0.8.12-pre.bb24
4 files changed, 47 insertions, 0 deletions
diff --git a/packages/clucene/.mtn2git_empty b/packages/clucene/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/clucene/.mtn2git_empty
diff --git a/packages/clucene/clucene-0.8.12-pre/.mtn2git_empty b/packages/clucene/clucene-0.8.12-pre/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/clucene/clucene-0.8.12-pre/.mtn2git_empty
diff --git a/packages/clucene/clucene-0.8.12-pre/compile-fix.patch b/packages/clucene/clucene-0.8.12-pre/compile-fix.patch
index e69de29bb2..5f6c8f1911 100644
--- a/packages/clucene/clucene-0.8.12-pre/compile-fix.patch
+++ b/packages/clucene/clucene-0.8.12-pre/compile-fix.patch
@@ -0,0 +1,23 @@
+
+#
+# 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/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
+}