summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-07-22 08:11:59 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-07-22 08:11:59 +0000
commitad1418a17cba4e8b9481f5dbf2ae6354a70fa668 (patch)
tree3dde3026732d5933bd221e5987b1468afdfa7abc /dev-cpp/clucene
parentVersion bump wrt #329363 by Tim Harder. (diff)
downloadhistorical-ad1418a17cba4e8b9481f5dbf2ae6354a70fa668.tar.gz
historical-ad1418a17cba4e8b9481f5dbf2ae6354a70fa668.tar.bz2
historical-ad1418a17cba4e8b9481f5dbf2ae6354a70fa668.zip
Do not install unnecessary .cmake files, deps cleanup, add DOCS
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp/clucene')
-rw-r--r--dev-cpp/clucene/ChangeLog6
-rw-r--r--dev-cpp/clucene/Manifest5
-rw-r--r--dev-cpp/clucene/clucene-9999.ebuild17
-rw-r--r--dev-cpp/clucene/files/clucene-9999-cmake.patch30
4 files changed, 49 insertions, 9 deletions
diff --git a/dev-cpp/clucene/ChangeLog b/dev-cpp/clucene/ChangeLog
index b8e9786a7792..9eaeb7b66162 100644
--- a/dev-cpp/clucene/ChangeLog
+++ b/dev-cpp/clucene/ChangeLog
@@ -1,6 +1,10 @@
# 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.30 2010/05/26 10:04:49 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/ChangeLog,v 1.31 2010/07/22 08:11:59 reavertm Exp $
+
+ 22 Jul 2010; Maciej Mrozowski <reavertm@gentoo.org> clucene-9999.ebuild,
+ +files/clucene-9999-cmake.patch:
+ Do not install unnecessary .cmake files, deps cleanup, add DOCS
*clucene-9999 (26 May 2010)
diff --git a/dev-cpp/clucene/Manifest b/dev-cpp/clucene/Manifest
index d197c4b7dc43..e9176b362c4c 100644
--- a/dev-cpp/clucene/Manifest
+++ b/dev-cpp/clucene/Manifest
@@ -1,7 +1,8 @@
AUX clucene-0.9.21b-gcc44.patch 218 RMD160 61cae76cb6051905a1f0c911cf7641df2885a91c SHA1 20d4c94095ddb70f3bd02d3ec8a5135567202d53 SHA256 2ab6c9350ae2ddc56e0c3c956c687f22b0a6f5adc438a0e512bca18efc502d2f
+AUX clucene-9999-cmake.patch 1244 RMD160 00a4404ed2b6557baa50a7518697b68370f40e62 SHA1 38113f8c6285e10051894aa67dbb516545c3e6b6 SHA256 ee53fdb5d934464d120bee0c1f2f6f26545226a856bf0f25a3834f717da4fd44
DIST clucene-core-0.9.21b.tar.bz2 1539103 RMD160 e04ca10ca755cdd9c7bf5ccdd34a91c0007de1d4 SHA1 8bc505b64f82723c2dc901036cb0607500870973 SHA256 202ee45af747f18642ae0a088d7c4553521714a511a1a9ec99b8144cf9928317
EBUILD clucene-0.9.21b-r1.ebuild 1251 RMD160 2373746767771e28a1984c78d538a1394ac0d528 SHA1 73f733df948304ac4ec6261ea78d6e7a941da48c SHA256 88ad0f9a28e855f96e6048ce9d8d2b071a1a118031a3b4528e143ae0b464100b
EBUILD clucene-0.9.21b.ebuild 1153 RMD160 a64ae7d41bd5f096f383a7289ca97b808d0e2fca SHA1 f619874d5f0e2edff930bde12ee90f95df6880be SHA256 76a8f0a4ccce114e0e957db8d54f20e927dffcf88da95e78f7a05aaef7932a46
-EBUILD clucene-9999.ebuild 985 RMD160 efecb719ef05a56b09ef30163a581c8dbd95cb89 SHA1 f5a3bbfcf85eaf44149ab0203652ca2a4cc420b8 SHA256 410f22a1a332185806afbc54e49483fa0a9277b27667a800d07fd8d7892cdf70
-MISC ChangeLog 4213 RMD160 01c70ee0f27201466a210f202851be6f6bbad3d7 SHA1 bec881374146b69afdf295cbfd3db5b5730d7192 SHA256 dee2348f2339ecd1d0baf01bb5eb3995e85fcefc295f6c53c61419a0372223e6
+EBUILD clucene-9999.ebuild 1046 RMD160 75a11d3172419f342508a6f8a98f893da4be6435 SHA1 2861e6195b5287de2f57eca142878de92e03c2c0 SHA256 7fab3cd1a9bee90e9f5d79d7beee9af8c92e30b6bc9911de26c9ad3f31f59652
+MISC ChangeLog 4389 RMD160 6bb611e7ae997f21e574e416ff9b7ad62fe9dc6a SHA1 048cabb8872447d1930d9a76b2cce669253e4a00 SHA256 0c3ab1a6618da0079b0d346e17f1ef87d036e598b576694cf6a12d6a1d7f9f55
MISC metadata.xml 256 RMD160 838e0f6278a4b0fe932c770396ad4a21b4437b37 SHA1 e845939169cd2438b7a0be04ea629e23d5a2157f SHA256 ed71448e1cf2b00c5a424eab700c847564482392381f9c6079d9642e36143515
diff --git a/dev-cpp/clucene/clucene-9999.ebuild b/dev-cpp/clucene/clucene-9999.ebuild
index e0fdd2a123b7..54f606945314 100644
--- a/dev-cpp/clucene/clucene-9999.ebuild
+++ b/dev-cpp/clucene/clucene-9999.ebuild
@@ -1,11 +1,10 @@
# 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-9999.ebuild,v 1.1 2010/05/26 10:04:49 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/clucene/clucene-9999.ebuild,v 1.2 2010/07/22 08:11:59 reavertm Exp $
EAPI="3"
-MY_P=${PN}-core-${PV}
-inherit git base cmake-utils
+inherit git cmake-utils
DESCRIPTION="High-performance, full-featured text search engine based off of lucene in C++"
HOMEPAGE="http://clucene.sourceforge.net/"
@@ -17,18 +16,24 @@ KEYWORDS=""
IUSE="debug doc static-libs threads"
RDEPEND=""
-DEPEND="${DEPEND}
+DEPEND="
doc? ( >=app-doc/doxygen-1.4.2 )
"
+PATCHES=(
+ "${FILESDIR}/${P}-cmake.patch"
+)
+
+DOCS=(AUTHORS ChangeLog README README.PACKAGE REQUESTS)
+
src_unpack() {
git_src_unpack
}
src_configure() {
mycmakeargs=(
- "-DENABLE_ASCII_MODE=OFF"
- "-DENABLE_PACKAGING=OFF"
+ -DENABLE_ASCII_MODE=OFF
+ -DENABLE_PACKAGING=OFF
$(cmake-utils_use_enable debug)
$(cmake-utils_use_enable doc CLDOCS)
$(cmake-utils_use_build static-libs STATIC_LIBRARIES)
diff --git a/dev-cpp/clucene/files/clucene-9999-cmake.patch b/dev-cpp/clucene/files/clucene-9999-cmake.patch
new file mode 100644
index 000000000000..81a3c531d1c0
--- /dev/null
+++ b/dev-cpp/clucene/files/clucene-9999-cmake.patch
@@ -0,0 +1,30 @@
+diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
+index 6084f2f..7529b41 100644
+--- a/src/core/CMakeLists.txt
++++ b/src/core/CMakeLists.txt
+@@ -222,8 +222,6 @@ file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake" "
+ set(CLUCENE_VERSION ${CLUCENE_VERSION})
+ set(CLUCENE_SOVERSION ${CLUCENE_SOVERSION})
+ ")
+-install(FILES "${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake"
+- DESTINATION ${LIB_DESTINATION}/CLuceneConfig.cmake)
+
+ # install pkg-config file
+ IF(NOT WIN32)
+@@ -238,16 +236,10 @@ IF ( LUCENE_SYS_INCLUDES )
+ install(FILES ${clucene-shared_BINARY_DIR}/CLucene/clucene-config.h
+ DESTINATION ${LUCENE_SYS_INCLUDES}/CLucene
+ COMPONENT development)
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake
+- DESTINATION ${LUCENE_SYS_INCLUDES}/CLucene
+- COMPONENT development)
+ ELSE ( LUCENE_SYS_INCLUDES )
+ install(FILES ${clucene-shared_BINARY_DIR}/CLucene/clucene-config.h
+ DESTINATION include/CLucene
+ COMPONENT development)
+- install(FILES ${CMAKE_CURRENT_BINARY_DIR}/CLuceneConfig.cmake
+- DESTINATION include/CLucene
+- COMPONENT development)
+ ENDIF ( LUCENE_SYS_INCLUDES )
+
+