void-packages/srcpkgs/gawk/template

25 lines
638 B
Text

# Template file for 'gawk'
pkgname=gawk
version=4.0.2
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>"
license="GPL-3"
homepage="http://www.gnu.org/directory/GNU/gawk.html"
distfiles="http://ftp.gnu.org/gnu/gawk/gawk-${version}.tar.gz"
checksum=6e0de117c3713aa8d7fa347fc9fd645b10038ae49d8cf947d8c1d51cbb76141a
pre_configure() {
# 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
}
}