wok annotate gawk/receipt @ rev 2936

Add: printoxx (print plugin for fotoxx)
author Rohit Joshi <jozee@slitaz.org>
date Thu May 07 09:43:12 2009 +0000 (2009-05-07)
parents d69f0c7d9b71
children eb2c55805aa9
rev   line source
pankso@70 1 # SliTaz package receipt.
pankso@70 2
pankso@70 3 PACKAGE="gawk"
pankso@70 4 VERSION="3.1.6"
pankso@204 5 CATEGORY="development"
pankso@70 6 SHORT_DESC="GNU awk to handle simple data-reformatting."
pankso@70 7 MAINTAINER="pankso@slitaz.org"
pankso@70 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@70 9 WEB_SITE="http://www.gnu.org/software/gawk/"
pankso@70 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@70 11
pankso@70 12 # Rules to configure and make the package.
pankso@70 13 compile_rules()
pankso@70 14 {
pankso@70 15 cd $src
pankso@70 16 ./configure \
pankso@70 17 --prefix=/usr \
pankso@70 18 --libexecdir=/usr/lib \
pankso@70 19 --infodir=/usr/share/info \
pankso@70 20 --mandir=/usr/share/man \
pankso@70 21 $CONFIGURE_ARGS
pankso@70 22 make
pankso@70 23 make DESTDIR=$PWD/_pkg install
pankso@70 24 }
pankso@70 25
pankso@70 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@70 27 genpkg_rules()
pankso@70 28 {
pankso@70 29 mkdir -p $fs/usr/share/locale
pankso@70 30 cp -a $_pkg/usr/bin $fs/usr
pankso@70 31
pankso@70 32 cp -a $_pkg/usr/share/awk $fs/usr/share
pankso@70 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
pankso@70 34
pankso@70 35 # Da strip...
pankso@70 36 strip -s $fs/usr/bin/*
pankso@70 37 }
pankso@70 38
pankso@70 39 # Post install to avoid erasing Busybox link
pankso@73 40 pre_install()
pankso@70 41 {
pankso@70 42 local root
pankso@70 43 root=$1
pankso@70 44 rm -f $root/usr/bin/awk
pankso@70 45 }
pankso@70 46