void-packages/srcpkgs/autoconf213/template

30 lines
864 B
Plaintext
Raw Normal View History

2013-05-16 18:02:52 +02:00
# Template build file for 'autoconf213'.
pkgname=autoconf213
version=2.13
2014-02-18 13:22:53 +01:00
revision=2
noarch=yes
2013-05-16 18:02:52 +02:00
wrksrc="autoconf-${version}"
hostmakedepends="perl>=0"
depends="gawk diffutils m4"
2013-05-16 18:02:52 +02:00
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
do_configure() {
./configure ${configure_args} --program-suffix='-2.13'
2013-05-16 18:02:52 +02:00
}
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/*
}