wok-next diff lucene++/receipt @ rev 18700
jpilot: build workaround (cooker/tazpkg needs investigations)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 16 10:12:38 2015 +0100 (2015-12-16) |
parents | |
children | 2f3aba6cc31e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lucene++/receipt Wed Dec 16 10:12:38 2015 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lucene++" 1.7 +VERSION="3.0.7" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="C++ port of the Java Lucene library" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="Apache" 1.12 +WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="$WEB_SITE/archive/rel_$VERSION.tar.gz" 1.15 + 1.16 +DEPENDS="libboost-date-time libboost-filesystem libboost-iostreams \ 1.17 +libboost-regex libboost-system libboost-thread libboost-chrono" 1.18 +BUILD_DEPENDS="cmake libboost-date-time-dev libboost-filesystem-dev \ 1.19 +libboost-regex-dev libboost-thread-dev libboost-iostreams-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + mkdir build; cd build 1.25 + cmake -DCMAKE_INSTALL_PREFIX=/usr .. && 1.26 + make && 1.27 + make install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib 1.34 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.35 +}