void-packages/srcpkgs/gawk/template
2016-11-20 06:00:47 +00:00

27 lines
717 B
Bash

# Template file for 'gawk'
pkgname=gawk
version=4.1.4
revision=2
lib32disabled=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="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=53e184e2d0f90def9207860531802456322be091c7b48f23fdc79cda65adc266
provides="awk-0_1"
alternatives="
awk:awk:/usr/bin/gawk
awk:awk.1:/usr/share/man/man1/gawk.1"
pre_configure() {
# Create symlinks for bins and manpages.
sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in
}
post_install() {
rm ${DESTDIR}/usr/bin/awk
}