void-packages/srcpkgs/autogen/template
2014-02-18 14:33:58 +01:00

31 lines
876 B
Text

# Template build file for 'autogen'.
pkgname=autogen
version=5.18.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config which"
makedepends="guile guile-devel>=2.0.9_3 libxml2-devel gc-devel"
short_desc="The Automated Program Generator"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL3"
homepage="http://autogen.sourceforge.net/"
distfiles="${GNU_SITE}/${pkgname}/rel${version}/${pkgname}-${version}.tar.gz"
checksum=cc2702dec21ba5b01144865163f6d1a54268d2b72aafc5520ad0e0cb57104068
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"
}
}