void-packages/srcpkgs/automake/template
q66 d53327019d automake: saner checkdepends list
While this will make some tests skipped (particularly the libtool
based ones) it's still worth it as most tests still run and this
allows cycle-free check-enabled builds.
2021-11-02 01:01:47 +01:00

22 lines
878 B
Bash

# Template file for 'automake'
# NOTE: also update common/environment/configure/automake when updating!
pkgname=automake
version=1.16.5
revision=1
build_style=gnu-configure
make_check_args="${makejobs}"
hostmakedepends="perl autoconf"
depends="${hostmakedepends}"
# ideally we'd like libtool here too, but that creates a build cycle
checkdepends="flex gettext-devel pkg-config"
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=f01d58cd6d9d77fbdca9eb4bbd5ead1988228fdb73d6f7a201f5f8d6b118b469
pre_check() {
# taken from http://www.linuxfromscratch.org/lfs/view/development/chapter06/automake.html
vsed -i "s:./configure:LEXLIB=/usr/lib/libfl.a &:" t/lex-{clean,depend}-cxx.sh
}