2006-02-23 16:26:10 +01:00
|
|
|
# Description: A pattern scanning and processing language
|
2021-10-30 14:59:12 +02:00
|
|
|
# URL: http://www.gnu.org/software/gawk/gawk.html
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: readline libmpfr
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=gawk
|
2021-10-30 14:59:12 +02:00
|
|
|
version=5.1.1
|
2016-08-26 15:28:18 +02:00
|
|
|
release=1
|
2017-03-02 14:25:08 +01:00
|
|
|
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz)
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
build() {
|
2021-10-30 14:59:12 +02:00
|
|
|
cd $name-$version
|
2015-05-01 11:06:40 +02:00
|
|
|
|
2021-10-30 17:16:46 +02:00
|
|
|
export ac_cv_libsigsegv=no
|
|
|
|
|
2021-10-30 14:59:12 +02:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--disable-nls
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2006-11-18 15:46:39 +01:00
|
|
|
|
2021-10-30 14:59:12 +02:00
|
|
|
rm -r $PKG/usr/{etc,share/info}
|
|
|
|
rm $PKG/usr/bin/gawk-$version
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|