void-packages/srcpkgs/autoconf/template

21 lines
640 B
Bash

# Template build file for 'autoconf'.
pkgname=autoconf
version=2.69
revision=6
noarch=yes
build_style=gnu-configure
hostmakedepends="perl m4"
depends="virtual?awk m4 perl"
short_desc="Generates automatic source code configuration scripts"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, GPL-3"
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
}