summaryrefslogtreecommitdiffstats
path: root/gawk/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gawk/Pkgfile')
-rw-r--r--gawk/Pkgfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/gawk/Pkgfile b/gawk/Pkgfile
new file mode 100644
index 0000000..d3f62f0
--- /dev/null
+++ b/gawk/Pkgfile
@@ -0,0 +1,20 @@
+description="A pattern scanning and processing language"
+packager=""
+maintainer="CRUX System Team, core-ports at crux dot nu"
+url="http://www.gnu.org/software/gawk/gawk.html"
+depends=()
+
+name=gawk
+version=3.1.8
+release=1
+source=(http://ftp.gnu.org/gnu/gawk/gawk-3.1.8.tar.bz2)
+build ()
+{
+ cd $name-$version;
+ ./configure --prefix=/usr --libexecdir=/usr/lib --mandir=/usr/man --enable-switch --disable-nls;
+ make;
+ 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;
+ ln -sf gawk.1.gz $PKG/usr/man/man1/awk.1.gz
+}