wok-next view lucene++/receipt @ rev 20915

libboost -> boost
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 21 00:41:54 2018 +0300 (2018-08-21)
parents d247e85339a4
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lucene++"
4 VERSION="3.0.7"
5 CATEGORY="utilities"
6 SHORT_DESC="C++ port of the Java Lucene library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="Apache"
9 WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/rel_$VERSION.tar.gz"
14 BUILD_DEPENDS="cmake boost-dev boost-date-time boost-filesystem \
15 boost-regex boost-thread boost-iostreams python"
16 SPLIT="lucene++-dev"
18 compile_rules() {
19 mkdir build; cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DLIB_DESTINATION=/usr/lib \
23 -DBoost_LIBRARY_DIR=/usr/lib \
24 -DENABLE_CUSTOM_ALLOCATOR='FALSE' \
25 -DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT' \
26 .. &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 lucene++)
34 copy @std
35 DEPENDS="boost-date-time boost-filesystem boost-iostreams \
36 boost-regex boost-system boost-thread boost-chrono"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="boost-dev boost-date-time boost-filesystem \
41 boost-iostreams boost-regex boost-system boost-thread \
42 boost-chrono"
43 ;;
44 esac
45 }