summaryrefslogtreecommitdiffstats
path: root/gawk/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-03-04 07:23:20 +0100
committerpiernov <piernov@piernov.org>2012-03-04 07:23:20 +0100
commite96be9aa3eaee01cabee536aea42139d6022b083 (patch)
tree749992561f83d22329587a4faa8c25dd68221821 /gawk/Pkgfile
parentaf038de68f4fb525ffbe4c47714e4f81af419424 (diff)
downloadnutyx-pakxe-e96be9aa3eaee01cabee536aea42139d6022b083.tar.gz
nutyx-pakxe-e96be9aa3eaee01cabee536aea42139d6022b083.tar.bz2
nutyx-pakxe-e96be9aa3eaee01cabee536aea42139d6022b083.tar.xz
nutyx-pakxe-e96be9aa3eaee01cabee536aea42139d6022b083.zip
gawk 4.0.0-1 màj port
Diffstat (limited to 'gawk/Pkgfile')
-rwxr-xr-xgawk/Pkgfile30
1 files changed, 11 insertions, 19 deletions
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
}