From e96be9aa3eaee01cabee536aea42139d6022b083 Mon Sep 17 00:00:00 2001 From: piernov Date: Sun, 4 Mar 2012 07:23:20 +0100 Subject: gawk 4.0.0-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gawk/Pkgfile | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) (limited to 'gawk/Pkgfile') diff --git a/gawk/Pkgfile b/gawk/Pkgfile index 81f067edd..8e6d14df6 100755 --- a/gawk/Pkgfile +++ b/gawk/Pkgfile @@ -5,25 +5,17 @@ # Depends on: name=gawk -version=3.1.8 -release=2 -source=( http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz ) +version=4.0.0 +release=1 +source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) build() { -cd $name-$version -CFLAGS='-rdynamic' ./configure --prefix=/usr \ - --libexec=/usr/lib \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ -ac_cv_func_working_mktime=yes -make -make DESTDIR=$PKG install -if [ -f $PKG/usr/share/info/dir ]; then - rm $PKG/usr/share/info/dir -fi -rm $PKG/usr/bin/gawk-$version \ - $PKG/usr/bin/pgawk-$version \ - $PKG/usr/bin/{p,i}gawk \ - $PKG/usr/share/man/man1/{p,i}gawk.1 -ln -sf gawk.1.gz $PKG/usr/share/man/man1/awk.1.gz + cd $name-$version + ./configure --prefix=/usr \ + --libexec=/usr/lib + make + make DESTDIR=$PKG install + if [ -f $PKG/usr/share/info/dir ]; then + rm $PKG/usr/share/info/dir + fi } -- cgit v1.2.3-70-g09d2