wok annotate lucene++/receipt @ rev 20617

Update granite
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 25 17:06:17 2018 +0100 (2018-12-25)
parents
children 5d97883e7e44
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@18514 15 BUILD_DEPENDS="cmake libboost-date-time-dev libboost-filesystem-dev \
al@18514 16 libboost-regex-dev libboost-thread-dev libboost-iostreams-dev"
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 }