CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
e2fsprogs: updated to 1.42.13 and updated mandir
[crossrootfs.git] / gawk / Pkgfile
1 #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, devel at crux-arm dot nu
5 # Depends on: readline libmpfr
6
7 name=gawk
8 version=4.1.3
9 release=2
10 source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
11
12 build() {
13 cd $name-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --disable-nls
19
20 make
21 make DESTDIR=$PKG install
22
23 rm -r $PKG/usr/share/info
24 rm $PKG/usr/bin/gawk-$version
25 }