wok-next diff gawk/receipt @ rev 8243
Up: slitaz-base-files 4.1.2, tazpkg 4.2.3
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Jan 28 23:10:49 2011 +0100 (2011-01-28) |
parents | f903372d213b |
children | 02bbaa9d12ba |
line diff
1.1 --- a/gawk/receipt Thu Sep 16 21:00:28 2010 +0000 1.2 +++ b/gawk/receipt Fri Jan 28 23:10: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.