void-packages/srcpkgs/autogen/template
Christian Neukirchen ab0d796556 autogen: remove autogen-devel, add libopts
autogen-devel hardly makes sense since when you generate a template
using it, you also want to compile it.

Instead, split the runtime library off into libopts to not add an
unnecessary dependency to all projects using it.

Closes #3738.
2016-03-02 13:37:11 +01:00

28 lines
788 B
Bash

# Template build file for 'autogen'.
pkgname=autogen
version=5.18.4
revision=6
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@voidlinux.eu>"
license="GPL-3"
homepage="http://autogen.sourceforge.net/"
distfiles="${GNU_SITE}/${pkgname}/rel${version}/${pkgname}-${version}.tar.gz"
checksum=3cd9f81a8ae7c6865bb9bbbe16c4307a243a1373d0b315a83571cbba1fff725d
replaces="autogen-docs>=0 autogen-devel>=0"
post_install() {
mv -v ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}
libopts_package() {
short_desc+=" - argument parsing library"
pkg_install() {
vmove "usr/lib/libopts.so.*"
}
}