summaryrefslogtreecommitdiffstats
path: root/gawk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gawk/Pkgfile')
-rwxr-xr-xgawk/Pkgfile38
1 files changed, 19 insertions, 19 deletions
diff --git a/gawk/Pkgfile b/gawk/Pkgfile
index 81f067edd..155c5149d 100755
--- a/gawk/Pkgfile
+++ b/gawk/Pkgfile
@@ -5,25 +5,25 @@
# 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
+ 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
}