blob: 002373e0acca68a45ac39f3cf76139e5af2e2c20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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
}
|