cryptsetup: cross build support.

This commit is contained in:
Juan RP 2013-02-13 09:31:41 +01:00
parent 3cc6fbafdc
commit 3b7ab349d6

View file

@ -13,3 +13,12 @@ license="GPL-3"
homepage="http://code.google.com/p/cryptsetup"
distfiles="https://cryptsetup.googlecode.com/files/$pkgname-$version.tar.bz2"
checksum=dd9686fce5d3276b2eb2ac40d513a9b64850af8fff881442f2cfe87257ba2406
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
makedepends="automake gettext-devel ${makedepends}"
crossmakedepends="popt-devel libuuid-devel device-mapper-devel libgcrypt-devel libpwquality-devel"
configure_args="${configure_args} PKG_CONFIG_LIBDIR=/usr/$XBPS_CROSS_TRIPLET/lib/pkgconfig"
pre_configure() {
autoreconf -fi
}
fi