void-packages/srcpkgs/autoconf/template

21 lines
670 B
Bash

# Template file for 'autoconf'
pkgname=autoconf
version=2.69
revision=8
archs=noarch
build_style=gnu-configure
hostmakedepends="perl m4 help2man"
depends="virtual?awk m4 perl"
short_desc="Generates automatic source code configuration scripts"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later"
homepage="http://www.gnu.org/software/autoconf"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=64ebcec9f8ac5b2487125a86a7760d2591ac9e1d3dbd59489633f9de62a57684
pre_check() {
# Disable failing test by adding
# AT_XFAIL_IF([:])
sed -i '/AT_SETUP(\[AC_PROG_CPP via CC\])/ s/$/ \nAT_XFAIL_IF(\[:\])/' tests/c.at
}