# Template file for 'gawk'
pkgname=gawk
version=4.0.2
revision=3
build_style=gnu-configure
configure_args="--with-readline"
makedepends="readline-devel>=6.3"
conflicts="chroot-gawk>=0"
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/gawk/gawk-${version}.tar.gz"
checksum=6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a

pre_configure() {
	# Create symlinks for bins and manpages.
	sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in
}
