void-packages/srcpkgs/gawk/template

26 lines
638 B
Text
Raw Normal View History

# 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
build_style=gnu-configure
configure_args="--with-readline"
makedepends="readline-devel"
short_desc="The GNU awk utility"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-11-06 07:28:57 +00:00
license="GPL-3"
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
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
}
gawk_package() {
conflicts="chroot-gawk>=0"
pkg_install() {
vmove usr
}
}