testing/android-tools: build on arm

Built on aarch64 and armv7 by mps@IRC, runtime tested on armhf by myself
This commit is contained in:
Joe Holden 2019-03-01 13:48:50 +00:00 committed by Carlo Landmeter
parent f719544534
commit 67283cdbf6

View File

@ -3,10 +3,10 @@
pkgname=android-tools
pkgver=9.0.0_p33
_realver=${pkgver/_p/_r}
pkgrel=0
pkgrel=1
pkgdesc="Android platform tools"
url="https://sites.google.com/a/android.com/tools/"
arch="x86 x86_64"
arch="x86 x86_64 aarch64 armv7 armhf"
license="Apache-2.0 MIT"
depends=""
depends_dev=""
@ -18,6 +18,10 @@ builddir="$srcdir/$pkgname-$_realver"
build() {
cd "$builddir"
case "$CARCH" in
aarch64|arm*) CXXFLAGS="$CXXFLAGS -Wno-error=attributes";;
esac
mkdir build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \