void-packages/srcpkgs/autoconf213/template
2020-01-05 13:46:26 +01:00

22 lines
798 B
Bash

# Template file for 'autoconf213'
pkgname=autoconf213
version=2.13
revision=3
archs=noarch
wrksrc="autoconf-${version}"
build_style=gnu-configure
configure_args="--program-suffix='-2.13'"
hostmakedepends="perl m4 texinfo"
depends="virtual?awk diffutils m4"
short_desc="Generates automatic source code configuration scripts (2.13 version)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://www.gnu.org/software/autoconf"
distfiles="${GNU_SITE}/autoconf/autoconf-$version.tar.gz"
checksum=f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
post_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/*
}