# Template file for 'gawk'
pkgname=gawk
version=4.0.1
revision=2
build_style=gnu-configure
configure_args="--with-readline"
makedepends="readline-devel"
short_desc="The GNU awk utility"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/directory/GNU/gawk.html"
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
checksum=476dee8bea8bc3b04af5cae502b83ea16edd5b703d20418918f8773889d78c80
long_desc="
 The GNU AWK utility, a pattern scanning and processing tool."

pre_configure() {
	# Create a symlink rather than a hardlink for pgawk.1.
	sed -i -e "s|ln -f|ln -sf|g" doc/Makefile.in
}
