wok-6.x annotate clucene/receipt @ rev 24448

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