wok-6.x annotate lucene++/receipt @ rev 23829

syslinux/isohybrid: remove Apple partitions
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 31 10:17:28 2020 +0000 (2020-05-31)
parents a05bf0bcba3b
children b569b85b0fb9
rev   line source
al@18514 1 # SliTaz package receipt.
al@18514 2
al@18514 3 PACKAGE="lucene++"
maniac@21616 4 VERSION="3.0.7+git"
maniac@21616 5 GITHASH="972c9cb37"
al@18514 6 CATEGORY="utilities"
al@18514 7 SHORT_DESC="C++ port of the Java Lucene library"
al@18514 8 MAINTAINER="al.bobylev@gmail.com"
al@18514 9 LICENSE="Apache"
al@18514 10 WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus"
al@18514 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
maniac@21616 12 #WGET_URL="$WEB_SITE/archive/rel_$VERSION.tar.gz"
maniac@21616 13 WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz"
al@18514 14
al@18514 15 DEPENDS="libboost-date-time libboost-filesystem libboost-iostreams \
al@18514 16 libboost-regex libboost-system libboost-thread libboost-chrono"
al@18514 17 BUILD_DEPENDS="cmake libboost-date-time-dev libboost-filesystem-dev \
al@18514 18 libboost-regex-dev libboost-thread-dev libboost-iostreams-dev"
al@18514 19
al@18514 20 # Rules to configure and make the package.
al@18514 21 compile_rules()
al@18514 22 {
al@18514 23 mkdir build; cd build
maniac@21616 24 cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
maniac@21616 25 -DENABLE_CUSTOM_ALLOCATOR='FALSE' \
maniac@21616 26 -DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT'
al@18514 27 make &&
al@18514 28 make install
al@18514 29 }
al@18514 30
al@18514 31 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18514 32 genpkg_rules()
al@18514 33 {
al@18514 34 mkdir -p $fs/usr/lib
al@18514 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@18514 36 }