wok-6.x annotate clucene/receipt @ rev 10334
gens-gs: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 01:20:15 2011 +0000 (2011-05-22) |
parents | cf088243a4a5 |
children | 8387b6915400 |
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/" |
slaxemulator@9475 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$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 } |
domcox@6087 | 35 |