Commit | Line | Data |
---|---|---|
f0f7d17d | 1 | #1 Description: A pattern scanning and processing language |
6dca1d21 JB |
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 |
f0f7d17d | 5 | # Depends on: readline libmpfr |
6dca1d21 JB |
6 | |
7 | name=gawk | |
f0f7d17d | 8 | version=4.1.3 |
61810b73 | 9 | release=2 |
f0f7d17d | 10 | source=(http://ftp.gnu.org/gnu/$name/$name-$version.tar.xz) |
6dca1d21 JB |
11 | |
12 | build() { | |
13 | cd $name-$version | |
f0f7d17d | 14 | |
6dca1d21 JB |
15 | ./configure --build=$CHOST \ |
16 | --host=$CTARGET \ | |
17 | --prefix=/usr \ | |
6dca1d21 | 18 | --disable-nls |
118a6ea3 | 19 | |
6dca1d21 JB |
20 | make |
21 | make DESTDIR=$PKG install | |
22 | ||
23 | rm -r $PKG/usr/share/info | |
61810b73 | 24 | rm $PKG/usr/bin/gawk-$version |
6dca1d21 | 25 | } |