wok view gawk/receipt @ rev 1918
Add perl-net-ssleay
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 22 09:57:23 2008 +0000 (2008-12-22) |
parents | d69f0c7d9b71 |
children | eb2c55805aa9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gawk"
4 VERSION="3.1.6"
5 CATEGORY="development"
6 SHORT_DESC="GNU awk to handle simple data-reformatting."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/gawk/"
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 --libexecdir=/usr/lib \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/locale
30 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/awk $fs/usr/share
33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 # Da strip...
36 strip -s $fs/usr/bin/*
37 }
39 # Post install to avoid erasing Busybox link
40 pre_install()
41 {
42 local root
43 root=$1
44 rm -f $root/usr/bin/awk
45 }