aalib: cross build support.

This commit is contained in:
Juan RP 2013-03-20 14:40:31 +01:00
parent ca9daecde5
commit 05e1c729ec

View file

@ -11,3 +11,11 @@ license="LGPL"
distfiles="http://prdownloads.sourceforge.net/aa-project/${pkgname}-${version}.tar.gz" distfiles="http://prdownloads.sourceforge.net/aa-project/${pkgname}-${version}.tar.gz"
checksum=0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58 checksum=0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58
wrksrc=aalib-1.4.0 wrksrc=aalib-1.4.0
if [ -n "$XBPS_CROSS_BUILD" ]; then
makedepends="automake"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
autoreconf -fi
}
fi