wok-6.x view gperf/receipt @ rev 3293
Jinja2: fix genpkg_rules
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu Jun 04 00:40:12 2009 +0000 (2009-06-04) |
parents | 48a9cf6ce47e |
children | beafc9e0975e |
line source
1 # SliTaz package receipt.
3 PACKAGE="gperf"
4 VERSION="3.0.3"
5 CATEGORY="development"
6 SHORT_DESC="GNU gperf is a perfect hash function generator."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/gperf/"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 }