void-packages/srcpkgs/autogen/template

41 lines
1 KiB
Text
Raw Normal View History

2013-07-28 05:30:53 +00:00
# Template build file for 'autogen'.
pkgname=autogen
version=5.18.2
revision=1
2013-07-28 05:30:53 +00:00
build_style=gnu-configure
hostmakedepends="pkg-config which"
2014-02-18 12:24:10 +00:00
makedepends="guile-devel libxml2-devel gc-devel"
2013-07-28 05:30:53 +00:00
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"
2013-07-28 05:30:53 +00:00
do_configure() {
GUILE_CFLAGS="$(pkg-config --cflags guile-2.0)"
GUILE_LDFLAGS="$(pkg-config --libs guile-2.0)"
./configure ${configure_args} --with-libguile \
--with-libguile-cflags="${GUILE_CFLAGS}" \
2013-07-28 05:30:53 +00:00
--with-libguile-libs="${GUILE_LDFLAGS}"
}
post_install() {
mv -v ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}
autogen-devel_package() {
short_desc+=" - development files"
2013-07-28 05:30:53 +00:00
depends="autogen"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
2013-07-28 05:30:53 +00:00
}
}