void-packages/srcpkgs/automake/template

21 lines
676 B
Bash

# Template build file for 'automake'.
pkgname=automake
version=1.16
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=f98f2d97b11851cbe7c2d4b4eaef498ae9d17a3c2ef1401609b7b4ca66655b8a
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
}