void-packages/srcpkgs/automake/template
2017-11-17 11:42:49 +01:00

20 lines
678 B
Bash

# Template build file for 'automake'.
pkgname=automake
version=1.15.1
revision=1
noarch=yes
build_style=gnu-configure
hostmakedepends="perl autoconf"
depends="${hostmakedepends}"
short_desc="GNU Standards-compliant Makefile generator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="https://www.gnu.org/software/automake"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=af6ba39142220687c500f79b4aa2f181d9b24e4f8d8ec497cea4ba26c64bedaf
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
}