community/botan: fix

This commit is contained in:
Kevin Mihelich 2017-04-21 18:07:52 +00:00
parent 66d8432b2a
commit 4475860613

View file

@ -10,6 +10,8 @@
# - --cpu in configure set to correct architectures, autodetect fails
# - AArch64 patch
buildarch=28
pkgname=botan
pkgver=2.1.0
pkgrel=1
@ -49,10 +51,12 @@ build() {
CPU='arm/armv5te'
fi
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-neon"
python configure.py \
--prefix=/usr \
--destdir="$pkgdir/usr" \
--cpu=$CPU
--cpu=$CPU $CONFIG
make
}