New package: Lucene++-3.0.6
This commit is contained in:
parent
1895856c4b
commit
c6f6b7f88d
|
@ -1745,3 +1745,5 @@ libewf.so.2 libewf-20140608_1
|
||||||
libcupsfilters.so.1 cups-filters-1.0.58_2
|
libcupsfilters.so.1 cups-filters-1.0.58_2
|
||||||
libfontembed.so.1 cups-filters-1.0.58_2
|
libfontembed.so.1 cups-filters-1.0.58_2
|
||||||
libjemalloc.so.1 jemalloc-3.6.0_1
|
libjemalloc.so.1 jemalloc-3.6.0_1
|
||||||
|
liblucene++.so.0 Lucene++-3.0.6_1
|
||||||
|
liblucene++-contrib.so.0 Lucene++-3.0.6_1
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Lucene++
|
|
@ -0,0 +1,41 @@
|
||||||
|
# Template file for 'Lucene++'
|
||||||
|
pkgname=Lucene++
|
||||||
|
version=3.0.6
|
||||||
|
revision=1
|
||||||
|
wrksrc=LucenePlusPlus-rel_$version
|
||||||
|
build_style=cmake
|
||||||
|
hostmakedepends="cmake"
|
||||||
|
makedepends="boost-devel gtest-devel"
|
||||||
|
short_desc="A C++ port of the popular text search engine"
|
||||||
|
maintainer="Enno Boland <eb@s01.de>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="https://github.com/luceneplusplus/LucenePlusPlus"
|
||||||
|
distfiles="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_${version}.tar.gz"
|
||||||
|
checksum=3e7092a4935e0d1ad5c6d7ac8f3c6ed2f53e51321237ce83744bbf02e0d61519
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
# Disable tests
|
||||||
|
echo > CMakeExternal.txt
|
||||||
|
rm -r src/test
|
||||||
|
sed -i \
|
||||||
|
-e "/find_package(Subversion REQUIRED)/d" \
|
||||||
|
-e "/enable_testing/d" \
|
||||||
|
-e "/add_subdirectory(src\/test)/d" \
|
||||||
|
CMakeLists.txt
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# Install missing header files
|
||||||
|
vcopy "include/*" usr/include/lucene++
|
||||||
|
vcopy "build/include/*" usr/include/lucene++
|
||||||
|
}
|
||||||
|
|
||||||
|
Lucene++-devel_package() {
|
||||||
|
depends="Lucene++>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue