wok-6.x view gawk/receipt @ rev 3817
Add lockdis (tiny screen locker)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Aug 06 14:21:20 2009 +0200 (2009-08-06) |
parents | 17a39e4461e4 |
children | f903372d213b |
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 # Pre and post install commands for Tazpkg.
40 # We must remove all Busybox symlink before installing.
41 pre_install()
42 {
43 local root
44 root=$1
45 rm -f $root/usr/bin/awk
46 }
48 post_remove()
49 {
50 ln -s /bin/busybox /usr/bin/awk
51 }