wok-next annotate lucene++/receipt @ rev 20663
Fix web site for the Shimmer Project themes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 22:58:32 2018 +0300 (2018-05-10) |
parents | 2f3aba6cc31e |
children | a244e109372e |
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@19765 | 14 BUILD_DEPENDS="cmake libboost-dev libboost-date-time libboost-filesystem \ |
al@20251 | 15 libboost-regex libboost-thread libboost-iostreams python" |
al@20251 | 16 SPLIT="lucene++-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@20251 | 35 DEPENDS="libboost-date-time libboost-filesystem libboost-iostreams \ |
al@20251 | 36 libboost-regex libboost-system libboost-thread libboost-chrono" |
al@20251 | 37 ;; |
al@20251 | 38 *-dev) |
al@20251 | 39 copy @dev |
al@20251 | 40 DEPENDS="libboost-dev libboost-date-time libboost-filesystem \ |
al@20251 | 41 libboost-iostreams libboost-regex libboost-system libboost-thread \ |
al@20251 | 42 libboost-chrono" |
al@20251 | 43 ;; |
al@20251 | 44 esac |
al@18514 | 45 } |