diff options
author | eroen <eroen@occam.eroen.eu> | 2013-07-11 01:27:19 +0200 |
---|---|---|
committer | eroen <eroen@occam.eroen.eu> | 2013-07-11 01:27:19 +0200 |
commit | 1a5d1b3ce3aaff6dcceea9475b6d968ca4fa3281 (patch) | |
tree | a3201acc23a1c79cfc3d1ad833c78a554c9bfa6a /dev-cpp | |
parent | drop old (diff) | |
download | eroen-1a5d1b3ce3aaff6dcceea9475b6d968ca4fa3281.tar.gz eroen-1a5d1b3ce3aaff6dcceea9475b6d968ca4fa3281.tar.bz2 eroen-1a5d1b3ce3aaff6dcceea9475b6d968ca4fa3281.zip |
clucene-2.3.3.4-r5 from gentoo
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/clucene/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/clucene/clucene-2.3.3.4-r5.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/dev-cpp/clucene/Manifest b/dev-cpp/clucene/Manifest index 6ea6996..1e1e02b 100644 --- a/dev-cpp/clucene/Manifest +++ b/dev-cpp/clucene/Manifest @@ -5,4 +5,5 @@ AUX clucene-2.3.3.4-pkgconfig.patch 871 SHA256 ae92955cecb57ec732233dc33d057f9a0 AUX series 110 SHA256 6b6c2431e1fe6c7f7a91661980b1dffd866fd53ff6cf20db534e9e0c7e65eee1 SHA512 8352aa3b8267f9b6f9c8af49ae750387dd8944d7f1a7056dcb55906c3c87e50eb3eae8d9ecf44c2389364740cb8b1c83ba8b6df882bbe75f379c88a6b69abfaa WHIRLPOOL 4b9db5f46baca5ba6f3b6676d057838ebf3cd8fae4b192afb46eb89e353b61ecb1cdb94ac655be3da672125cbe6f26a36a89bc295be30f7e474cbfc3c13fce4a DIST clucene-core-2.3.3.4.tar.gz 2241498 SHA256 ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab SHA512 1c9da9077edcebd46563bd9e47d330518e0b30061016650a759cfe051e9748fdad8932a472b1cca53a6adafed5f41656527271fc5f55ddfcefb558f0d83286b4 WHIRLPOOL d9e80807b6a1a9afb318be5e795af1edf1ba60734a33c4ee3a9be95863cb97bd13f6d7e144ddff631a5deebce890ef002f3196fe511c57a33f94db29a56c6315 EBUILD clucene-2.3.3.4-r4.ebuild 1757 SHA256 608fa79f7d0737123374bcf3f20a11bd64f3351d12fddbfe78331305ff512b9c SHA512 d3a60f01ccf390e9d58aa33b74e266303d7768d14af96e271ded231634a1fa18d6a2068bc9c75bb2be1aff1fc813ae072e698f7ce7d4ef52ff9cdffcb4c508d2 WHIRLPOOL b00d4d912aed2adb3ed7a89b0fa911fda83eed5ad418e89454122389943cc08615fbebf733f382e79948afca9bd3b3c97a3d7d2649c3c878ae52cb4326f28783 +EBUILD clucene-2.3.3.4-r5.ebuild 1655 SHA256 f4b037fe379eb083ad3ca8436e69d97ce551b722976d15968413c249b1dfa84c SHA512 3288689f6e9eac332aced463598a19242323980b2dbee782ac9f000976714a0f9818ca3a3f0166f3c14b8d7f983f65b96e170ccbda93815c1781932b0e156146 WHIRLPOOL e8c03c6a946e8caf0dc21d0b969ad2b44df9c0b4e14464dcac4043ab365eff4918bd898309e7ea4072f25cfb60f092b032797cd27a78da3c32fed0486673eda4 MISC metadata.xml 157 SHA256 01f6fa4357ce08e8b0f7900a51fa78c7f060fefc7c7da98acaec1e283dd59892 SHA512 657d6b0a31ceb7ac10bedfd5cbd634d4ff47938bd2f321203f0233e53686f7e0fd460e81f82793804895c7e97cfa472c1ca44b93314574262ee8cc5745a3efd0 WHIRLPOOL 785331909f1834cdd5d797ad484ea0e35c3e44c79a8a7517a6fb5de926acd181abd57910c8d960fb2e11ea38ddea336bca309af16fcc2df68fe4b602bca120b3 diff --git a/dev-cpp/clucene/clucene-2.3.3.4-r5.ebuild b/dev-cpp/clucene/clucene-2.3.3.4-r5.ebuild new file mode 100644 index 0000000..46d45f0 --- /dev/null +++ b/dev-cpp/clucene/clucene-2.3.3.4-r5.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-2.3.3.4-r5.ebuild,v 1.1 2013/07/04 16:36:45 scarabeus Exp $ + +EAPI=5 + +MY_PN="${PN}"-core +MY_P="${MY_PN}"-"${PV}" + +inherit base cmake-utils multilib + +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.gz" + +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" + +DEPEND=" + doc? ( >=app-doc/doxygen-1.4.2 ) +" +RDEPEND="!<app-misc/strigi-0.7.5-r3" + +RESTRICT="test" + +DOCS=(AUTHORS ChangeLog README README.PACKAGE REQUESTS) + +S="${WORKDIR}/${MY_PN}-${PV}" + +PATCHES=( + "${FILESDIR}/${P}-contrib.patch" + "${FILESDIR}/${P}-pkgconfig.patch" +) + +src_prepare() { + base_src_prepare + + # patch out installing bundled boost headers, we build against system one + sed -i \ + -e '/ADD_SUBDIRECTORY (src\/ext)/d' \ + CMakeLists.txt || die + rm -rf src/ext || die +} + +src_configure() { + # Disabled threads: see upstream bug + # https://sourceforge.net/tracker/?func=detail&aid=3237301&group_id=80013&atid=558446 + local mycmakeargs=( + -DENABLE_ASCII_MODE=OFF + -DENABLE_PACKAGING=OFF + -DDISABLE_MULTITHREADING=OFF + -DBUILD_CONTRIBS_LIB=ON + "-DLIB_DESTINATION=${EPREFIX}/usr/$(get_libdir)" + $(cmake-utils_use_enable debug) + $(cmake-utils_use_enable doc CLDOCS) + $(cmake-utils_use_build static-libs STATIC_LIBRARIES) + ) + + cmake-utils_src_configure +} |