# Template file for 'gawk'
pkgname=gawk
version=4.1.3
revision=2
build_pie=yes
build_style=gnu-configure
configure_args="--with-readline"
makedepends="readline-devel"
short_desc="The GNU awk utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnu.org/directory/GNU/gawk.html"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=e3cf55e91e31ea2845f8338bedd91e40671fc30e4d82ea147d220e687abda625

lib32disabled=yes
provides="awk-0_1"
replaces="awk>=0"

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