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
-drwxr-xr-x root/root usr/include/
--rw-r--r-- root/root usr/include/gawkapi.h
+-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
-rwxr-xr-x root/root usr/lib/awk/pwcat
-drwxr-xr-x root/root usr/lib/gawk/
--rwxr-xr-x root/root usr/lib/gawk/filefuncs.so
--rwxr-xr-x root/root usr/lib/gawk/fnmatch.so
--rwxr-xr-x root/root usr/lib/gawk/fork.so
--rwxr-xr-x root/root usr/lib/gawk/inplace.so
--rwxr-xr-x root/root usr/lib/gawk/ordchr.so
--rwxr-xr-x root/root usr/lib/gawk/readdir.so
--rwxr-xr-x root/root usr/lib/gawk/readfile.so
--rwxr-xr-x root/root usr/lib/gawk/revoutput.so
--rwxr-xr-x root/root usr/lib/gawk/revtwoway.so
--rwxr-xr-x root/root usr/lib/gawk/rwarray.so
--rwxr-xr-x root/root usr/lib/gawk/testext.so
--rwxr-xr-x root/root usr/lib/gawk/time.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
+lrwxrwxrwx root/root usr/man/man1/awk.1.gz -> gawk.1.gz
+lrwxrwxrwx root/root usr/man/man1/dawk.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/man/man3/
--rw-r--r-- root/root usr/man/man3/filefuncs.3am.gz
--rw-r--r-- root/root usr/man/man3/fnmatch.3am.gz
--rw-r--r-- root/root usr/man/man3/fork.3am.gz
--rw-r--r-- root/root usr/man/man3/ordchr.3am.gz
--rw-r--r-- root/root usr/man/man3/readdir.3am.gz
--rw-r--r-- root/root usr/man/man3/readfile.3am.gz
--rw-r--r-- root/root usr/man/man3/revoutput.3am.gz
--rw-r--r-- root/root usr/man/man3/revtwoway.3am.gz
--rw-r--r-- root/root usr/man/man3/rwarray.3am.gz
--rw-r--r-- root/root usr/man/man3/time.3am.gz
+lrwxrwxrwx root/root usr/man/man1/pawk.1.gz -> gawk.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/getopt.awk
-rw-r--r-- root/root usr/share/awk/gettime.awk
-rw-r--r-- root/root usr/share/awk/group.awk
--rw-r--r-- root/root usr/share/awk/inplace.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/noassign.awk
# Depends on:
name=gawk
-version=4.1.0
+version=4.0.2
release=1
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
--enable-switch \
--disable-nls
- # Use host's gawk
- sed "s|../gawk\$(EXEEXT)|gawk|g" -i extension/Makefile.in
-
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/info
- rm $PKG/usr/bin/gawk-$version
- rm $PKG/usr/lib/gawk/*.la
+ rm $PKG/usr/bin/{gawk,pgawk}-$version
+ rm $PKG/usr/man/man1/{p,d}gawk.1
+
+ ln -sf gawk.1.gz $PKG/usr/man/man1/awk.1.gz
+ ln -sf gawk.1.gz $PKG/usr/man/man1/dawk.1.gz
+ ln -sf gawk.1.gz $PKG/usr/man/man1/pawk.1.gz
}