wok-current annotate clucene/receipt @ rev 6087
Add: clucene clucene-dev (0.9.21b)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Aug 29 21:24:52 2010 +0200 (2010-08-29) |
parents | |
children | fdce9fde98b2 |
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 DEPENDS="" |
domcox@6087 | 9 SOURCE="clucene-core" |
domcox@6087 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
domcox@6087 | 11 WEB_SITE="http://sourceforge.net/projects/clucene/" |
domcox@6087 | 12 WGET_URL="http://downloads.sourceforge.net/clucene/$TARBALL" |
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@6087 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
domcox@6087 | 19 --disable-static \ |
domcox@6087 | 20 --mandir=/usr/share/man $CONFIGURE_ARGS |
domcox@6087 | 21 make |
domcox@6087 | 22 make DESTDIR=$PWD/_pkg install |
domcox@6087 | 23 } |
domcox@6087 | 24 |
domcox@6087 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@6087 | 26 genpkg_rules() |
domcox@6087 | 27 { |
domcox@6087 | 28 mkdir -p $fs/usr/lib |
domcox@6087 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
domcox@6087 | 30 strip -s $fs/usr/lib/* |
domcox@6087 | 31 } |
domcox@6087 | 32 |