summaryrefslogtreecommitdiffstats
path: root/gawk/Pkgfile.old
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-11 19:15:23 +0100
committerLukc <lukc@upyum.com>2010-12-11 19:15:35 +0100
commit6d908a38e05b9d4135c65d23114a5874215b5bb8 (patch)
treeb5e6da6d95b9a1235d82032b509b80483a886ff5 /gawk/Pkgfile.old
downloadbase-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.gz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.bz2
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.tar.xz
base-6d908a38e05b9d4135c65d23114a5874215b5bb8.zip
Engagement initial.
Diffstat (limited to 'gawk/Pkgfile.old')
-rw-r--r--gawk/Pkgfile.old27
1 files changed, 27 insertions, 0 deletions
diff --git a/gawk/Pkgfile.old b/gawk/Pkgfile.old
new file mode 100644
index 0000000..002373e
--- /dev/null
+++ b/gawk/Pkgfile.old
@@ -0,0 +1,27 @@
+# Description: A pattern scanning and processing language
+# URL: http://www.gnu.org/software/gawk/gawk.html
+# Maintainer: CRUX System Team, core-ports at crux dot nu
+
+name=gawk
+version=3.1.8
+release=1
+source=(http://ftp.gnu.org/gnu/$name/$name-$version.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
+}