autogen: unbreak build.

This commit is contained in:
Juan RP 2014-02-18 14:32:37 +01:00
parent d32c73c830
commit 6d9dfdca4a

View file

@ -3,8 +3,9 @@ pkgname=autogen
version=5.18.2
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config which"
makedepends="guile-devel libxml2-devel gc-devel"
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"
@ -14,15 +15,6 @@ checksum=cc2702dec21ba5b01144865163f6d1a54268d2b72aafc5520ad0e0cb57104068
replaces="autogen-docs>=0"
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}" \
--with-libguile-libs="${GUILE_LDFLAGS}"
}
post_install() {
mv -v ${DESTDIR}/usr/share/pkgconfig ${DESTDIR}/usr/lib
}