void-packages/srcpkgs/gawk/template

24 lines
631 B
Bash

# Template file for 'gawk'
pkgname=gawk
version=4.1.2
revision=1
build_pie=yes
build_style=gnu-configure
configure_args="--with-readline"
makedepends="readline-devel"
short_desc="The GNU awk utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnu.org/directory/GNU/gawk.html"
distfiles="http://ftp.gnu.org/gnu/gawk/gawk-${version}.tar.gz"
checksum=3b4d1a537f91c75832c0adcf507bd3be0660cdd14c5405b54d33e000bdd8a415
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
}