wok-4.x rev 8179
imported patch toolchain/gawk.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | 450d417ccaa2 |
children | a74236fa5e55 |
files | gawk/receipt |
line diff
1.1 --- a/gawk/receipt Thu Jan 27 00:20:49 2011 +0100 1.2 +++ b/gawk/receipt Thu Jan 27 00:20:49 2011 +0100 1.3 @@ -5,22 +5,26 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="GNU awk to handle simple data-reformatting." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 +DEPENDS="glibc-base" 1.8 +BUILD_DEPENDS="gcc" 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 WEB_SITE="http://www.gnu.org/software/gawk/" 1.11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.12 1.13 +# Rules to compile & install the temporary toolchain. 1.14 +cook_tmp_toolchain() 1.15 +{ 1.16 + cd $src 1.17 + ./configure && make && make install 1.18 +} 1.19 + 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 cd $src 1.24 - ./configure \ 1.25 - --prefix=/usr \ 1.26 - --libexecdir=/usr/lib \ 1.27 - --infodir=/usr/share/info \ 1.28 - --mandir=/usr/share/man \ 1.29 - $CONFIGURE_ARGS 1.30 - make 1.31 - make DESTDIR=$PWD/_pkg install 1.32 + ./configure --libexecdir=/usr/lib && 1.33 + make && 1.34 + make install 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg.