2010-03-02 00:55:51 +00:00
|
|
|
# Template file for 'clucene'
|
|
|
|
pkgname=clucene
|
2013-06-16 09:50:15 +00:00
|
|
|
version=2.3.3.4
|
2014-08-04 17:20:51 +00:00
|
|
|
revision=4
|
2010-03-02 00:55:51 +00:00
|
|
|
wrksrc=${pkgname}-core-${version}
|
2013-06-16 09:50:15 +00:00
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DENABLE_ASCII_MODE=OFF -DENABLE_PACKAGING=OFF
|
|
|
|
-DBUILD_CONTRIBS_LIB:BOOL=ON -DLIB_DESTINATION:PATH=/usr/lib
|
2014-08-04 17:20:51 +00:00
|
|
|
-DLUCENE_SYS_INCLUDES:PATH=/usr/include -DDISABLE_MULTITHREADING=OFF"
|
2013-06-16 09:50:15 +00:00
|
|
|
hostmakedepends="cmake pkg-config"
|
2014-02-18 15:11:26 +00:00
|
|
|
makedepends="zlib-devel boost-devel"
|
2010-03-02 00:55:51 +00:00
|
|
|
short_desc="Text search engine written in C++"
|
2013-03-31 07:31:43 +00:00
|
|
|
homepage="http://clucene.sourceforge.net/"
|
|
|
|
license="LGPL-2+/ASL-2.0"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-06-16 09:50:15 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-core-${version}.tar.gz"
|
|
|
|
checksum=ddfdc433dd8ad31b5c5819cc4404a8d2127472a3b720d3e744e8c51d79732eab
|
2010-03-02 00:55:51 +00:00
|
|
|
|
2013-04-12 06:55:23 +00:00
|
|
|
clucene-devel_package() {
|
2014-08-04 17:20:51 +00:00
|
|
|
depends="libstdc++-devel ${sourcepkg}>=${version}_${revision}"
|
2013-06-16 09:50:15 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 06:55:23 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
2013-06-16 09:50:15 +00:00
|
|
|
vmove "usr/lib/*.so"
|
|
|
|
vmove usr/lib/CLuceneConfig.cmake
|
|
|
|
vmove usr/lib/pkgconfig
|
2013-04-12 06:55:23 +00:00
|
|
|
}
|
|
|
|
}
|