diff options
author | davidovski <david@davidovski.xyz> | 2022-10-22 16:29:29 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-10-22 16:29:29 +0100 |
commit | f99268f797c120a24030a573ef22813cd018beb5 (patch) | |
tree | ee18857a5eda7bc94286e3924dc2209aea7b92c4 /repo/android-tools/android-tools.xibuild | |
parent | 95545d88b997a17ff03bb164af33c33e2a12d693 (diff) |
Added unrar
Diffstat (limited to 'repo/android-tools/android-tools.xibuild')
-rw-r--r-- | repo/android-tools/android-tools.xibuild | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/android-tools/android-tools.xibuild b/repo/android-tools/android-tools.xibuild new file mode 100644 index 0000000..4ad7009 --- /dev/null +++ b/repo/android-tools/android-tools.xibuild @@ -0,0 +1,22 @@ +#!/bin/sh + +NAME="android-tools" +DESC="Android platform tools" + +MAKEDEPS="pcre2 linux-headers libusb gtest go perl cmake protobuf brotli zstd lz4 ninja" + +PKG_VER=31.0.3p2 +SOURCE="https://github.com/nmeum/android-tools/releases/download/$PKG_VER/android-tools-$PKG_VER.tar.xz" + +build() { + cmake -B build -G Ninja \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_BUILD_TYPE=None + cmake --build build +} + +package() { + DESTDIR="$PKG_DEST" cmake --install build +} + |