CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Imported core-cross ports from 2.5
[crossrootfs.git] / gawk / Pkgfile
CommitLineData
6dca1d21
JB
1# Description: A pattern scanning and processing language
2# URL: http://www.gnu.org/software/gawk/gawk.html
3# Maintainer: CRUX System Team, core-ports at crux dot nu
4# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
5
6name=gawk
7version=3.1.6
8release=2
9source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
10
11build() {
12 cd $name-$version
13 ./configure --build=$CHOST \
14 --host=$CTARGET \
15 --prefix=/usr \
16 --libexecdir=/usr/lib \
17 --mandir=/usr/man \
18 --enable-switch \
19 --disable-nls
20 make
21 make DESTDIR=$PKG install
22
23 rm -r $PKG/usr/share/info
24 rm $PKG/usr/bin/gawk-$version \
25 $PKG/usr/bin/pgawk-$version \
26 $PKG/usr/bin/{p,i}gawk \
27 $PKG/usr/man/man1/{p,i}gawk.1
28
29 ln -sf gawk.1.gz $PKG/usr/man/man1/awk.1.gz
30}