summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/clucene/clucene-0.9.21b.ebuild')
-rw-r--r--dev-cpp/clucene/clucene-0.9.21b.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-cpp/clucene/clucene-0.9.21b.ebuild b/dev-cpp/clucene/clucene-0.9.21b.ebuild
new file mode 100644
index 000000000000..2f939964afda
--- /dev/null
+++ b/dev-cpp/clucene/clucene-0.9.21b.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-0.9.21b.ebuild,v 1.1 2008/11/07 14:07:50 scarabeus Exp $
+
+MY_P=${PN}-core-${PV}
+
+DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++"
+HOMEPAGE="http://clucene.sourceforge.net/"
+SRC_URI="mirror://sourceforge/clucene/${MY_P}.tar.bz2"
+
+LICENSE="|| ( Apache-2.0 LGPL-2.1 )"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="debug doc threads"
+
+DEPEND="doc? ( >=app-doc/doxygen-1.4.2 )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_compile() {
+ econf $(use_enable debug) \
+ $(use_enable debug cnddebug) \
+ $(use_enable threads multithreading) || die "econf failed"
+ emake || die "emake failed"
+ if use doc ; then
+ emake doxygen || die "making docs failed"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "installation failed"
+ use doc && dohtml "${S}"/doc/html/*
+}