aalib: cross build support.
This commit is contained in:
parent
ca9daecde5
commit
05e1c729ec
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue