void-packages/srcpkgs/gawk/template

25 lines
655 B
Bash

# Template file for 'gawk'
pkgname=gawk
version=4.1.1
revision=4
build_pie=yes
build_style=gnu-configure
configure_args="--with-readline"
makedepends="readline-devel"
conflicts="chroot-gawk>=0"
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=556464bd2e4bc5a0fad4526b59623e4be40b4c2f4c663dfaaf246af6e2ec1d62
lib32disabled=yes
provides="awk-0_1"
replaces="awk>=0"
pre_configure() {
# Create symlinks for bins and manpages.
sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in
}