2008-10-23 15:22:37 +00:00
|
|
|
# Template file for 'gawk'
|
|
|
|
pkgname=gawk
|
2012-12-29 08:20:30 +00:00
|
|
|
version=4.0.2
|
2013-02-01 10:32:31 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-09-23 12:04:38 +00:00
|
|
|
configure_args="--with-readline"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="readline-devel"
|
2008-10-23 15:22:37 +00:00
|
|
|
short_desc="The GNU awk utility"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-06 07:28:57 +00:00
|
|
|
license="GPL-3"
|
2012-09-23 12:04:38 +00:00
|
|
|
homepage="http://www.gnu.org/directory/GNU/gawk.html"
|
2012-12-29 08:20:30 +00:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/gawk/gawk-${version}.tar.gz"
|
|
|
|
checksum=6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a
|
2008-10-27 06:42:40 +00:00
|
|
|
|
2012-09-23 12:04:38 +00:00
|
|
|
pre_configure() {
|
2012-12-29 08:20:30 +00:00
|
|
|
# Create symlinks for bins and manpages.
|
|
|
|
sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in
|
2012-09-23 12:04:38 +00:00
|
|
|
}
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
gawk_package() {
|
|
|
|
conflicts="chroot-gawk>=0"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|