wok-current annotate clucene/receipt @ rev 8969
virtualbox-ose: add PROVIDE=
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 02 10:08:14 2011 +0100 (2011-03-02) |
parents | fdce9fde98b2 |
children | e5ae411e1d8c |
rev | line source |
---|---|
domcox@6087 | 1 # SliTaz package receipt. |
domcox@6087 | 2 |
domcox@6087 | 3 PACKAGE="clucene" |
domcox@6087 | 4 VERSION="0.9.21b" |
domcox@6087 | 5 CATEGORY="system-tools" |
domcox@6087 | 6 SHORT_DESC="C++ port of Lucene, a high-performance, full-featured text search engine" |
domcox@6087 | 7 MAINTAINER="domcox@users.sourceforge.net" |
domcox@6087 | 8 SOURCE="clucene-core" |
domcox@6087 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
domcox@6087 | 10 WEB_SITE="http://sourceforge.net/projects/clucene/" |
domcox@6087 | 11 WGET_URL="http://downloads.sourceforge.net/clucene/$TARBALL" |
domcox@6095 | 12 TAGS="text indexing" |
domcox@6087 | 13 |
domcox@6087 | 14 # Rules to configure and make the package. |
domcox@6087 | 15 compile_rules() |
domcox@6087 | 16 { |
domcox@6087 | 17 cd $src |
domcox@6095 | 18 ./configure \ |
domcox@6095 | 19 --prefix=/usr \ |
domcox@6095 | 20 --libdir=/usr/lib \ |
domcox@6095 | 21 --sysconfdir=/etc \ |
domcox@6095 | 22 --localstatedir=/var \ |
domcox@6095 | 23 --disable-static \ |
domcox@6095 | 24 $CONFIGURE_ARGS |
domcox@6087 | 25 make |
gokhlayeh@8612 | 26 make -j1 install |
domcox@6087 | 27 } |
domcox@6087 | 28 |
domcox@6087 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@6087 | 30 genpkg_rules() |
domcox@6087 | 31 { |
domcox@6087 | 32 mkdir -p $fs/usr/lib |
domcox@6087 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
domcox@6087 | 34 strip -s $fs/usr/lib/* |
domcox@6087 | 35 } |
domcox@6087 | 36 |