wok-next view clucene/receipt @ rev 20709
cdrdao: add patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 17:09:29 2018 +0300 (2018-05-26) |
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 }