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