wok-next annotate clucene/receipt @ rev 21449

updated slock (1.1 -> 1.4)
author Hans-G?nter Theisgen
date Thu May 07 07:51:56 2020 +0100 (2020-05-07)
parents 4ca71b0ef823
children
rev   line source
al@19797 1 # SliTaz package receipt v2.
domcox@6087 2
domcox@6087 3 PACKAGE="clucene"
al@19797 4 VERSION="2.3.3.4"
domcox@6087 5 CATEGORY="system-tools"
al@19797 6 SHORT_DESC="CLucene - a C++ search engine"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15021 8 LICENSE="LGPL Apache"
al@19797 9 WEB_SITE="https://sourceforge.net/projects/clucene/"
al@19797 10
al@19797 11 TARBALL="clucene-core-$VERSION.tar.gz"
slaxemulator@9475 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@19797 13
al@19797 14 BUILD_DEPENDS="cmake zlib-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
domcox@6087 16
al@21020 17 compile_rules() {
al@21020 18 mkdir build
al@21020 19 cd build
al@19797 20
al@19797 21 cmake \
al@19797 22 -DCMAKE_INSTALL_PREFIX=/usr \
al@21020 23 -DBUILD_CONTRIBS_LIB=ON \
al@21020 24 .. &&
al@19797 25 make &&
gokhlayeh@8612 26 make -j1 install
domcox@6087 27 }
domcox@6087 28
al@21020 29 genpkg_rules() {
al@19797 30 case $PACKAGE in
al@19797 31 clucene) copy @std; TAGS="text indexing";;
al@19797 32 *-dev) copy @dev;;
al@19797 33 esac
domcox@6087 34 }