wok view clucene/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents 1dce3fb32d2b
children ad0bc3efbf37
line source
1 # SliTaz package receipt.
3 PACKAGE="clucene"
4 VERSION="2.3.3.4"
5 CATEGORY="system-tools"
6 TAGS="text indexing"
7 SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine."
8 MAINTAINER="domcox@slitaz.org"
9 LICENSE="LGPL Apache"
10 WEB_SITE="https://sourceforge.net/projects/clucene/"
12 SOURCE="clucene-core"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
16 BUILD_DEPENDS="cmake"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/clucene/files/clucene-core-unstable/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*core-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 mkdir build
30 cd build
31 cmake .. \
32 -DCMAKE_INSTALL_PREFIX=/usr &&
33 make
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 }