void-packages/srcpkgs/autogen/template

44 lines
1.1 KiB
Plaintext
Raw Normal View History

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