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