2006-02-23 15:26:10 +00:00
|
|
|
|
# Description: A pattern scanning and processing language
|
|
|
|
|
# URL: http://www.gnu.org/software/gawk/gawk.html
|
2006-04-20 20:37:09 +00:00
|
|
|
|
# Maintainer: Per Lid<69>n, core-ports at crux dot nu
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
name=gawk
|
|
|
|
|
version=3.1.5
|
2006-11-24 13:05:01 +01:00
|
|
|
|
release=3
|
|
|
|
|
source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.gz \
|
|
|
|
|
$name-$version-io.patch)
|
2006-02-23 15:26:10 +00:00
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
2006-11-24 13:05:01 +01:00
|
|
|
|
|
|
|
|
|
patch -p0 -i $SRC/$name-$version-io.patch
|
2006-11-18 15:46:39 +01:00
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
|
--enable-switch \
|
|
|
|
|
--disable-nls
|
2006-02-23 15:26:10 +00:00
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
2006-11-18 15:46:39 +01:00
|
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/{info,share,libexec}
|
|
|
|
|
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
|
|
|
|
|
|
2006-02-23 15:26:10 +00:00
|
|
|
|
ln -sf gawk.1.gz $PKG/usr/man/man1/awk.1.gz
|
|
|
|
|
}
|