# HG changeset patch # User Antoine Bodin # Date 1296084049 -3600 # Node ID 48520ccbd2a8d64a0273bb005ebdbade9fdcdd03 # Parent 450d417ccaa241b40efad5fc7c156ee17f959c97 imported patch toolchain/gawk.patch diff -r 450d417ccaa2 -r 48520ccbd2a8 gawk/receipt --- a/gawk/receipt Thu Jan 27 00:20:49 2011 +0100 +++ b/gawk/receipt Thu Jan 27 00:20:49 2011 +0100 @@ -5,22 +5,26 @@ CATEGORY="development" SHORT_DESC="GNU awk to handle simple data-reformatting." MAINTAINER="pankso@slitaz.org" +DEPENDS="glibc-base" +BUILD_DEPENDS="gcc" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/gawk/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +# Rules to compile & install the temporary toolchain. +cook_tmp_toolchain() +{ + cd $src + ./configure && make && make install +} + # Rules to configure and make the package. compile_rules() { cd $src - ./configure \ - --prefix=/usr \ - --libexecdir=/usr/lib \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS - make - make DESTDIR=$PWD/_pkg install + ./configure --libexecdir=/usr/lib && + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg.