void-packages/srcpkgs/automake/template

21 lines
761 B
Bash

# Template file for 'automake'
# NOTE: also update common/environment/configure/automake when updating!
pkgname=automake
version=1.16.1
revision=3
archs=noarch
build_style=gnu-configure
hostmakedepends="perl autoconf"
depends="${hostmakedepends}"
short_desc="GNU Standards-compliant Makefile generator"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.gnu.org/software/automake"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=5d05bb38a23fd3312b10aea93840feec685bdf4a41146e78882848165d3ae921
do_check() {
# taken from http://www.linuxfromscratch.org/lfs/view/development/chapter06/automake.html
sed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh
make -j4 check
}