wok-next view lucene++/receipt @ rev 21452
updated socat (2.0.0-b7 -> 2.0.0-b9)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 07 13:23:44 2020 +0100 (2020-05-07) |
parents | a244e109372e |
children |
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="$PACKAGE-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 }