wok-next view clucene/receipt @ rev 19752
Up gvfs, cookutils, harfbuzz, libxml2.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 08 19:49:38 2017 +0300 (2017-06-08) |
parents | 051931e905b0 |
children | 4ca71b0ef823 |
line source
1 # SliTaz package receipt.
3 PACKAGE="clucene"
4 VERSION="0.9.21b"
5 CATEGORY="system-tools"
6 SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine"
7 MAINTAINER="domcox@slitaz.org"
8 LICENSE="LGPL Apache"
9 SOURCE="clucene-core"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://sourceforge.net/projects/clucene/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="text indexing"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's|LuceneBase(){};|LuceneBase()\n#if __cplusplus >= 201103L\nnoexcept(false)\n#endif\n{};|' \
19 src/CLucene/debug/lucenebase.h
20 ./configure \
21 --prefix=/usr \
22 --libdir=/usr/lib \
23 --sysconfdir=/etc \
24 --localstatedir=/var \
25 --disable-static \
26 $CONFIGURE_ARGS
27 make
28 make -j1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }