2006-02-23 16:26:10 +01:00
|
|
|
# Description: A pattern scanning and processing language
|
2021-12-13 12:20:39 +01:00
|
|
|
# URL: https://www.gnu.org/software/gawk/gawk.html
|
2021-10-30 14:59:12 +02:00
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2021-12-13 12:20:39 +01:00
|
|
|
# Depends on: libmpfr readline
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=gawk
|
2023-05-10 13:06:48 +02:00
|
|
|
version=5.2.2
|
2022-11-23 15:50:36 +01:00
|
|
|
release=1
|
|
|
|
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
|
|
|
|
|
2022-09-05 11:30:58 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2021-10-30 14:59:12 +02:00
|
|
|
--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
|
|
|
}
|