wok annotate gperf/receipt @ rev 13521
Up task (2.1.2)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Oct 19 19:53:45 2012 +0100 (2012-10-19) |
parents | 03a799424aaa |
children | d1c17bd2c2bc |
rev | line source |
---|---|
pankso@874 | 1 # SliTaz package receipt. |
pankso@874 | 2 |
pankso@874 | 3 PACKAGE="gperf" |
slaxemulator@6300 | 4 VERSION="3.0.4" |
pascal@1423 | 5 CATEGORY="development" |
pankso@874 | 6 SHORT_DESC="GNU gperf is a perfect hash function generator." |
pankso@874 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@874 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@874 | 9 WEB_SITE="http://www.gnu.org/software/gperf/" |
pankso@874 | 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@874 | 11 |
pankso@874 | 12 # Rules to configure and make the package. |
pankso@874 | 13 compile_rules() |
pankso@874 | 14 { |
pankso@874 | 15 cd $src |
pankso@874 | 16 ./configure \ |
pankso@874 | 17 --prefix=/usr \ |
pankso@874 | 18 --mandir=/usr/share/man \ |
pankso@874 | 19 $CONFIGURE_ARGS |
pankso@874 | 20 make |
pankso@874 | 21 make DESTDIR=$PWD/_pkg install |
pankso@874 | 22 } |
pankso@874 | 23 |
pankso@874 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@874 | 25 genpkg_rules() |
pankso@874 | 26 { |
pankso@874 | 27 mkdir -p $fs/usr |
pankso@874 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@874 | 29 } |
pankso@874 | 30 |