wok-6.x annotate gperf/receipt @ rev 1474

Up mpfr-dev (2.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 12:49:35 2008 +0000 (2008-10-04)
parents 48a9cf6ce47e
children beafc9e0975e
rev   line source
pankso@874 1 # SliTaz package receipt.
pankso@874 2
pankso@874 3 PACKAGE="gperf"
pankso@874 4 VERSION="3.0.3"
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