wok-current view lucene++/receipt @ rev 23456

updated pure-ftpd and pure-ftpd-pam (1.0.48 -> 1.0.49)
author Hans-G?nter Theisgen
date Fri Apr 03 13:56:35 2020 +0100 (2020-04-03)
parents a05bf0bcba3b
children b569b85b0fb9
line source
1 # SliTaz package receipt.
3 PACKAGE="lucene++"
4 VERSION="3.0.7+git"
5 GITHASH="972c9cb37"
6 CATEGORY="utilities"
7 SHORT_DESC="C++ port of the Java Lucene library"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="Apache"
10 WEB_SITE="https://github.com/luceneplusplus/LucenePlusPlus"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="$WEB_SITE/archive/rel_$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$GITHASH.tar.gz"
15 DEPENDS="libboost-date-time libboost-filesystem libboost-iostreams \
16 libboost-regex libboost-system libboost-thread libboost-chrono"
17 BUILD_DEPENDS="cmake libboost-date-time-dev libboost-filesystem-dev \
18 libboost-regex-dev libboost-thread-dev libboost-iostreams-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mkdir build; cd build
24 cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
25 -DENABLE_CUSTOM_ALLOCATOR='FALSE' \
26 -DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT'
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }