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