void-packages/srcpkgs/gawk/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

24 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
}