CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
procps: updated to 3.3.3 and aligned with upstream. Cleaned cross patches.
[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
b751b192 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5dadb07b 5# Depends on:
6dca1d21
JB
6
7name=gawk
fd113582 8version=4.0.1
f41e2cc1 9release=1
fd113582 10source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
6dca1d21
JB
11
12build() {
13 cd $name-$version
14 ./configure --build=$CHOST \
15 --host=$CTARGET \
16 --prefix=/usr \
17 --libexecdir=/usr/lib \
18 --mandir=/usr/man \
19 --enable-switch \
20 --disable-nls
21 make
22 make DESTDIR=$PKG install
23
24 rm -r $PKG/usr/share/info
fd113582
JB
25 rm $PKG/usr/bin/{gawk,pgawk}-$version \
26 $PKG/usr/man/man1/pgawk.1
6dca1d21
JB
27
28 ln -sf gawk.1.gz $PKG/usr/man/man1/awk.1.gz
29}