summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-05-25 06:41:03 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-05-25 06:41:03 +0000
commit1c8d9e1b29f9a6a0ba3eabd72a1ca0d6eab4ad54 (patch)
tree36c93133bc91dbc2ca35b1028247c7d4c9353a33
parentRemove old version. (diff)
downloadhistorical-1c8d9e1b29f9a6a0ba3eabd72a1ca0d6eab4ad54.tar.gz
historical-1c8d9e1b29f9a6a0ba3eabd72a1ca0d6eab4ad54.tar.bz2
historical-1c8d9e1b29f9a6a0ba3eabd72a1ca0d6eab4ad54.zip
Add static-libs USE flag, conditionally remove libtool files, move to EAPI-2
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
-rw-r--r--dev-cpp/clucene/ChangeLog12
-rw-r--r--dev-cpp/clucene/Manifest3
-rw-r--r--dev-cpp/clucene/clucene-0.9.21b-r1.ebuild50
3 files changed, 61 insertions, 4 deletions
diff --git a/dev-cpp/clucene/ChangeLog b/dev-cpp/clucene/ChangeLog
index 6d95903b488f..25f1c24930b5 100644
--- a/dev-cpp/clucene/ChangeLog
+++ b/dev-cpp/clucene/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-cpp/clucene
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/ChangeLog,v 1.28 2010/04/30 15:45:45 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/ChangeLog,v 1.29 2010/05/25 06:41:03 reavertm Exp $
+
+*clucene-0.9.21b-r1 (25 May 2010)
+
+ 25 May 2010; Maciej Mrozowski <reavertm@gentoo.org>
+ +clucene-0.9.21b-r1.ebuild:
+ Add static-libs USE flag, conditionally remove libtool files, move to EAPI-2
30 Apr 2010; Fabian Groffen <grobian@gentoo.org> clucene-0.9.21b.ebuild:
Marked ~ppc-macos
@@ -68,8 +74,8 @@
02 Oct 2007; Wulf C. Krueger <philantrop@gentoo.org> metadata.xml,
-clucene-0.9.15.ebuild, -clucene-0.9.16a.ebuild, -clucene-0.9.17.ebuild,
+clucene-0.9.20.ebuild:
- Version bump to 0.9.20. Fixes bug 179670.
- Removed obsolete versions.
+ Version bump to 0.9.20. Fixes bug 179670.
+ Removed obsolete versions.
Added myself to metadata.xml as the maintainer.
19 Mar 2007; Bryan Østergaard <kloeri@gentoo.org> metadata.xml:
diff --git a/dev-cpp/clucene/Manifest b/dev-cpp/clucene/Manifest
index 39bd049322da..674822d4202c 100644
--- a/dev-cpp/clucene/Manifest
+++ b/dev-cpp/clucene/Manifest
@@ -1,5 +1,6 @@
AUX clucene-0.9.21b-gcc44.patch 218 RMD160 61cae76cb6051905a1f0c911cf7641df2885a91c SHA1 20d4c94095ddb70f3bd02d3ec8a5135567202d53 SHA256 2ab6c9350ae2ddc56e0c3c956c687f22b0a6f5adc438a0e512bca18efc502d2f
DIST clucene-core-0.9.21b.tar.bz2 1539103 RMD160 e04ca10ca755cdd9c7bf5ccdd34a91c0007de1d4 SHA1 8bc505b64f82723c2dc901036cb0607500870973 SHA256 202ee45af747f18642ae0a088d7c4553521714a511a1a9ec99b8144cf9928317
+EBUILD clucene-0.9.21b-r1.ebuild 1315 RMD160 06bd9605d31273c139ff1c1774c62fb255aadb77 SHA1 c28128ba1acd378bbdc6a953d09204a0023bfe1d SHA256 67e17dbead3053463ed0fd99317bd939b253967523ee970dd78aa08270f05de8
EBUILD clucene-0.9.21b.ebuild 1153 RMD160 a64ae7d41bd5f096f383a7289ca97b808d0e2fca SHA1 f619874d5f0e2edff930bde12ee90f95df6880be SHA256 76a8f0a4ccce114e0e957db8d54f20e927dffcf88da95e78f7a05aaef7932a46
-MISC ChangeLog 3798 RMD160 f10207466c75479cfdb78ffbdf37d8116f35f652 SHA1 401a2fa320bf6a0b418a3aa630be808d1641f10d SHA256 c10c036bd9e25538f4769df0afe99faac8c056ddd76f56ad01d1adb0352f6609
+MISC ChangeLog 3996 RMD160 274e37e5d8f762e81d292296823f362f242de23c SHA1 e29547987ed1c8fe02ddcabba28a6160c49e681f SHA256 46c83dcf4aace4cebdc70463b831d3bc8268f3d61eddfcf9a22bcd333390d5f2
MISC metadata.xml 256 RMD160 838e0f6278a4b0fe932c770396ad4a21b4437b37 SHA1 e845939169cd2438b7a0be04ea629e23d5a2157f SHA256 ed71448e1cf2b00c5a424eab700c847564482392381f9c6079d9642e36143515
diff --git a/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild b/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild
new file mode 100644
index 000000000000..29ece13b2526
--- /dev/null
+++ b/dev-cpp/clucene/clucene-0.9.21b-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2010 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-r1.ebuild,v 1.1 2010/05/25 06:41:03 reavertm Exp $
+
+EAPI="2"
+
+inherit eutils
+
+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="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="debug doc static-libs threads"
+
+DEPEND="doc? ( >=app-doc/doxygen-1.4.2 )"
+RDEPEND=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc44.patch #254254
+}
+
+src_configure() {
+ econf $(use_enable debug) \
+ $(use_enable debug cnddebug) \
+ $(use_enable static-libs static) \
+ $(use_enable threads multithreading)
+}
+
+src_compile() {
+ 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/*
+ if ! use static-libs; then
+ find "${D}" -type f -name '*.la' -exec rm -f {} + \
+ || die "la removal failed"
+ fi
+}