From 52063c4916b847ba9e618a50520a617ef042257e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 16 Jun 2013 11:50:15 +0200 Subject: [PATCH] clucene: update to 2.3.3.4 (SONAME bump). --- common/shlibs | 4 +++- srcpkgs/clucene/template | 23 +++++++++++++++-------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/common/shlibs b/common/shlibs index 05d68fce652..fbd7aa52e7e 100644 --- a/common/shlibs +++ b/common/shlibs @@ -495,7 +495,6 @@ libstreamanalyzer.so.0 strigi-0.7.2_1 libstrigihtmlgui.so.0 strigi-0.7.2_1 libstreams.so.0 strigi-0.7.2_1 libstrigiqtdbusclient.so.0 strigi-0.7.2_1 -libclucene.so.0 clucene-0.9.21b_1 libecpg_compat.so.3 postgresql-libs-8.4.2_1 libecpg.so.6 postgresql-libs-8.4.2_1 libpgtypes.so.3 postgresql-libs-8.4.2_1 @@ -1265,3 +1264,6 @@ libsoprano.so.4 soprano-2.9.2_1 librasqal.so.3 rasqal-0.9.30_1 librdf.so.0 librdf-1.0.16_1 libkdecore.so.5 kdelibs-4.10.4_1 +libclucene-core.so.1 clucene-2.3.3.4_1 +libclucene-shared.so.1 clucene-2.3.3.4_1 +libclucene-contribs-lib.so.1 clucene-2.3.3.4_1 diff --git a/srcpkgs/clucene/template b/srcpkgs/clucene/template index b8397708c7c..233787596a8 100644 --- a/srcpkgs/clucene/template +++ b/srcpkgs/clucene/template @@ -1,15 +1,20 @@ # Template file for 'clucene' pkgname=clucene -version=0.9.21b -revision=4 +version=2.3.3.4 +revision=1 wrksrc=${pkgname}-core-${version} -build_style=gnu-configure +build_style=cmake +configure_args="-DENABLE_ASCII_MODE=OFF -DENABLE_PACKAGING=OFF + -DBUILD_CONTRIBS_LIB:BOOL=ON -DLIB_DESTINATION:PATH=/usr/lib + -DLUCENE_SYS_INCLUDES:PATH=/usr/lib -DDISABLE_MULTITHREADING=OFF" +hostmakedepends="cmake pkg-config" +makedepends="boost-devel" short_desc="Text search engine written in C++" homepage="http://clucene.sourceforge.net/" license="LGPL-2+/ASL-2.0" maintainer="Juan RP " -distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-core-${version}.tar.bz2" -checksum=202ee45af747f18642ae0a088d7c4553521714a511a1a9ec99b8144cf9928317 +distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-core-${version}.tar.gz" +checksum=ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab long_desc=" CLucene is a high-performance, scalable, cross platform, full-featured, open-source indexing and searching API. Specifically, CLucene is the guts @@ -19,12 +24,14 @@ long_desc=" display or further processing." clucene-devel_package() { - depends="libstdc++-devel clucene>=${version}" - short_desc="${short_desc} -- development files" + depends="libstdc++-devel ${sourcepkg}-${version}_${revision}" + short_desc+=" - development files" pkg_install() { vmove usr/include - vmove "usr/lib/*.a" + vmove "usr/lib/*.so" vmove usr/lib/CLucene + vmove usr/lib/CLuceneConfig.cmake + vmove usr/lib/pkgconfig } }