void-packages/srcpkgs/autogen/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

32 lines
878 B
Bash

# Template build file for 'autogen'.
pkgname=autogen
version=5.18.4
revision=4
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config perl"
makedepends="guile guile-devel libxml2-devel gc-devel"
depends="guile perl"
short_desc="The Automated Program Generator"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL3"
homepage="http://autogen.sourceforge.net/"
distfiles="${GNU_SITE}/${pkgname}/rel${version}/${pkgname}-${version}.tar.gz"
checksum=3cd9f81a8ae7c6865bb9bbbe16c4307a243a1373d0b315a83571cbba1fff725d
replaces="autogen-docs>=0"
post_install() {
mv -v ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}
autogen-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
vmove "usr/lib/*.so"
}
}