void-packages/srcpkgs/automake/template
John 804773313f automake: use makejobs instead of -j$(nproc)
also, fix xlint.

Signed-off-by: Piraty <piraty1@inbox.ru>

Closes: #22331 [via git-merge-pr]
2020-05-28 09:30:55 +02:00

24 lines
915 B
Bash

# Template file for 'automake'
# NOTE: also update common/environment/configure/automake when updating!
pkgname=automake
version=1.16.2
revision=1
archs=noarch
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=ccc459de3d710e066ab9e12d2f119bd164a08c9341ca24ba22c9adaa179eedd0
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
}