wok annotate gperf/receipt @ rev 7674

Fixed linux. Need to make folder PWD/_pkg before adding bzImage to it. Also i'm force copying kernel config file now so we have the right config. It is copyed twice so its needed and doesn't hunt anything i think.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 17:16:06 2010 +0000 (2010-12-16)
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