void-packages/srcpkgs/autoconf213/template

37 lines
1.3 KiB
Text

# Template build file for 'autoconf213'.
pkgname=autoconf213
version=2.13
revision=1
noarch=yes
wrksrc="autoconf-${version}"
hostmakedepends="perl>=0"
depends="gawk diffutils m4"
short_desc="Generates automatic source code configuration scripts (2.13 version)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, GPL-3"
homepage="http://www.gnu.org/software/autoconf"
distfiles="http://ftp.gnu.org/gnu/autoconf/autoconf-$version.tar.gz"
checksum=f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
long_desc="
Autoconf is an extensible package of m4 macros that produce shell
scripts to automatically configure software source code packages.
These scripts can adapt the packages to many kinds of UNIX-like
systems without manual user intervention. Autoconf creates a
configuration script for a package from a template file that lists the
operating system features that the package can use, in the form of m4
macro calls."
do_configure() {
./configure ${configure_args} --program-suffix='-2.13'
}
do_build() {
make ${makejobs}
}
do_install() {
make DESTDIR=${DESTDIR} install
# Avoid conflict with other versions.
mv ${DESTDIR}/usr/share/autoconf ${DESTDIR}/usr/share/autoconf213
sed -e 's,/usr/share/autoconf,/usr/share/autoconf213,g' -i ${DESTDIR}/usr/bin/*
}