wok-next annotate lucene++/receipt @ rev 20250
jwm, lockdis: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 12:15:09 2017 +0100 (2017-11-07) |
parents | a05bf0bcba3b |
children | d247e85339a4 |
rev | line source |
---|---|
al@18514 | 1 # SliTaz package receipt. |
al@18514 | 2 |
al@18514 | 3 PACKAGE="lucene++" |
al@18514 | 4 VERSION="3.0.7" |
al@18514 | 5 CATEGORY="utilities" |
al@18514 | 6 SHORT_DESC="C++ port of the Java Lucene library" |
al@18514 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18514 | 8 LICENSE="Apache" |
al@18514 | 9 WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus" |
al@18514 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18514 | 11 WGET_URL="$WEB_SITE/archive/rel_$VERSION.tar.gz" |
al@18514 | 12 |
al@18514 | 13 DEPENDS="libboost-date-time libboost-filesystem libboost-iostreams \ |
al@18514 | 14 libboost-regex libboost-system libboost-thread libboost-chrono" |
al@19765 | 15 BUILD_DEPENDS="cmake libboost-dev libboost-date-time libboost-filesystem \ |
al@19765 | 16 libboost-regex libboost-thread libboost-iostreams" |
al@18514 | 17 |
al@18514 | 18 # Rules to configure and make the package. |
al@18514 | 19 compile_rules() |
al@18514 | 20 { |
al@18514 | 21 mkdir build; cd build |
al@18514 | 22 cmake -DCMAKE_INSTALL_PREFIX=/usr .. && |
al@18514 | 23 make && |
al@18514 | 24 make install |
al@18514 | 25 } |
al@18514 | 26 |
al@18514 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18514 | 28 genpkg_rules() |
al@18514 | 29 { |
al@18514 | 30 mkdir -p $fs/usr/lib |
al@18514 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@18514 | 32 } |