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

updated genext2fs (1.4.1 -> 1.5.0)
author Hans-G?nter Theisgen
date Mon Feb 28 17:48:46 2022 +0100 (2022-02-28)
parents 5d97883e7e44
children
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 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE/tags 2>/dev/null | \
24 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 mkdir build; cd build
31 cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
32 -DENABLE_CUSTOM_ALLOCATOR='FALSE' \
33 -DCMAKE_CXX_FLAGS='-DBOOST_VARIANT_USE_RELAXED_GET_BY_DEFAULT'
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }