wok-next view clucene/receipt @ rev 20194

Up irrlicht (1.8.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 03 11:27:16 2017 +0100 (2017-11-03)
parents 777348fd8b60
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="clucene"
4 VERSION="2.3.3.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="CLucene - a C++ search engine"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="LGPL Apache"
9 WEB_SITE="https://sourceforge.net/projects/clucene/"
11 TARBALL="clucene-core-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="cmake zlib-dev"
15 SPLIT="clucene-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build &&
21 cd build &&
23 cmake \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DBUILD_CONTRIBS_LIB=ON .. &&
26 make &&
27 make -j1 install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 case $PACKAGE in
34 clucene) copy @std; TAGS="text indexing";;
35 *-dev) copy @dev;;
36 esac
37 }