drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
lrwxrwxrwx root/root usr/bin/awk -> gawk
+-rwxr-xr-x root/root usr/bin/dgawk
-rwxr-xr-x root/root usr/bin/gawk
+-rwxr-xr-x root/root usr/bin/igawk
+-rwxr-xr-x root/root usr/bin/pgawk
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/awk/
-rwxr-xr-x root/root usr/lib/awk/grcat
drwxr-xr-x root/root usr/man/man1/
lrwxrwxrwx root/root usr/man/man1/awk.1.gz -> gawk.1.gz
-rw-r--r-- root/root usr/man/man1/gawk.1.gz
+-rw-r--r-- root/root usr/man/man1/igawk.1.gz
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/awk/
-rw-r--r-- root/root usr/share/awk/assert.awk
-rw-r--r-- root/root usr/share/awk/group.awk
-rw-r--r-- root/root usr/share/awk/join.awk
-rw-r--r-- root/root usr/share/awk/libintl.awk
--rw-r--r-- root/root usr/share/awk/nextfile.awk
-rw-r--r-- root/root usr/share/awk/noassign.awk
-rw-r--r-- root/root usr/share/awk/ord.awk
-rw-r--r-- root/root usr/share/awk/passwd.awk
+-rw-r--r-- root/root usr/share/awk/quicksort.awk
-rw-r--r-- root/root usr/share/awk/readable.awk
-rw-r--r-- root/root usr/share/awk/rewind.awk
-rw-r--r-- root/root usr/share/awk/round.awk
-rw-r--r-- root/root usr/share/awk/strtonum.awk
+-rw-r--r-- root/root usr/share/awk/walkarray.awk
-rw-r--r-- root/root usr/share/awk/zerofile.awk
# Depends on:
name=gawk
-version=3.1.8
+version=4.0.1
release=1
-source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
build() {
cd $name-$version
make DESTDIR=$PKG install
rm -r $PKG/usr/share/info
- rm $PKG/usr/bin/gawk-$version \
- $PKG/usr/bin/pgawk-$version \
- $PKG/usr/bin/{p,i}gawk \
- $PKG/usr/man/man1/{p,i}gawk.1
+ rm $PKG/usr/bin/{gawk,pgawk}-$version \
+ $PKG/usr/man/man1/pgawk.1
ln -sf gawk.1.gz $PKG/usr/man/man1/awk.1.gz
}