wok-next annotate lucene++/receipt @ rev 21382
updated nbd (3.3 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 17:27:00 2020 +0100 (2020-04-16) |
parents | a244e109372e |
children |
rev | line source |
---|---|
al@20251 | 1 # SliTaz package receipt v2. |
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@20251 | 10 |
al@18514 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@18514 | 12 WGET_URL="$WEB_SITE/archive/rel_$VERSION.tar.gz" |
al@18514 | 13 |
al@20915 | 14 BUILD_DEPENDS="cmake boost-dev boost-date-time boost-filesystem \ |
al@20915 | 15 boost-regex boost-thread boost-iostreams python" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@18514 | 17 |
al@20251 | 18 compile_rules() { |
al@18514 | 19 mkdir build; cd build |
al@20251 | 20 cmake \ |
al@20251 | 21 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20251 | 22 -DLIB_DESTINATION=/usr/lib \ |
al@20251 | 23 -DBoost_LIBRARY_DIR=/usr/lib \ |
al@20251 | 24 -DENABLE_CUSTOM_ALLOCATOR='FALSE' \ |
al@20251 | 25 -DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT' \ |
al@20251 | 26 .. && |
al@18514 | 27 make && |
al@18514 | 28 make install |
al@18514 | 29 } |
al@18514 | 30 |
al@20251 | 31 genpkg_rules() { |
al@20251 | 32 case $PACKAGE in |
al@20251 | 33 lucene++) |
al@20251 | 34 copy @std |
al@20915 | 35 DEPENDS="boost-date-time boost-filesystem boost-iostreams \ |
al@20915 | 36 boost-regex boost-system boost-thread boost-chrono" |
al@20251 | 37 ;; |
al@20251 | 38 *-dev) |
al@20251 | 39 copy @dev |
al@20915 | 40 DEPENDS="boost-dev boost-date-time boost-filesystem \ |
al@20915 | 41 boost-iostreams boost-regex boost-system boost-thread \ |
al@20915 | 42 boost-chrono" |
al@20251 | 43 ;; |
al@20251 | 44 esac |
al@18514 | 45 } |