gawk: update to 4.0.2.

This commit is contained in:
Juan RP 2012-12-29 09:20:30 +01:00
parent b4a3e93fbc
commit 3376c86c1c

View File

@ -1,7 +1,7 @@
# Template file for 'gawk'
pkgname=gawk
version=4.0.1
revision=2
version=4.0.2
revision=1
build_style=gnu-configure
configure_args="--with-readline"
makedepends="readline-devel"
@ -9,12 +9,10 @@ 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."
distfiles="http://ftp.gnu.org/gnu/gawk/gawk-${version}.tar.gz"
checksum=6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a
pre_configure() {
# Create a symlink rather than a hardlink for pgawk.1.
sed -i -e "s|ln -f|ln -sf|g" doc/Makefile.in
# Create symlinks for bins and manpages.
sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in
}