29 lines
587 B
Plaintext
29 lines
587 B
Plaintext
# Description: A pattern scanning and processing language
|
|
# URL: https://www.gnu.org/software/gawk/gawk.html
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: libmpfr readline
|
|
|
|
name=gawk
|
|
version=5.2.0
|
|
release=2
|
|
source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.xz
|
|
add-upref.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/add-upref.patch
|
|
|
|
export ac_cv_libsigsegv=no
|
|
|
|
./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
|
|
}
|