void-packages/srcpkgs/automake/template
2021-10-09 08:00:27 -04:00

22 lines
902 B
Bash

# Template file for 'automake'
# NOTE: also update common/environment/configure/automake when updating!
pkgname=automake
version=1.16.4
revision=1
build_style=gnu-configure
make_check_args="${makejobs}"
hostmakedepends="perl autoconf"
depends="${hostmakedepends}"
checkdepends="cscope dejagnu emacs expect flex gettext-devel glib-devel libtool perl pkg-config
sharutils texinfo vala lzip xz zip zstd"
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=80facc09885a57e6d49d06972c0ae1089c5fa8f4d4c7cfe5baea58e5085f136d
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
}