wok-current rev 70
Add : gawk (gcc BUILD_DEPENDS)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Dec 24 22:06:22 2007 +0100 (2007-12-24) |
parents | e34c94590b59 |
children | e631f5d75ae4 |
files | gawk/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gawk/receipt Mon Dec 24 22:06:22 2007 +0100 1.3 @@ -0,0 +1,47 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gawk" 1.7 +VERSION="3.1.6" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="GNU awk to handle simple data-reformatting." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.gnu.org/software/gawk/" 1.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + ./configure \ 1.20 + --prefix=/usr \ 1.21 + --libexecdir=/usr/lib \ 1.22 + --infodir=/usr/share/info \ 1.23 + --mandir=/usr/share/man \ 1.24 + $CONFIGURE_ARGS 1.25 + make 1.26 + make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share/locale 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + 1.35 + cp -a $_pkg/usr/share/awk $fs/usr/share 1.36 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.37 + 1.38 + # Da strip... 1.39 + strip -s $fs/usr/bin/* 1.40 +} 1.41 + 1.42 +# Post install to avoid erasing Busybox link 1.43 +pot_install() 1.44 +{ 1.45 + local root 1.46 + root=$1 1.47 + rm -f $root/usr/bin/awk 1.48 +} 1.49 +SELF_INSTALL=1 1.50 +