23 lines
556 B
Plaintext
23 lines
556 B
Plaintext
# 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
|
|
# Depends on: readline libmpfr
|
|
|
|
name=gawk
|
|
version=4.2.0
|
|
release=1
|
|
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--disable-nls
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/{etc,share/info}
|
|
rm $PKG/usr/bin/gawk-$version
|
|
}
|