diff options
Diffstat (limited to 'testing/android-tools/APKBUILD')
-rw-r--r-- | testing/android-tools/APKBUILD | 78 |
1 files changed, 36 insertions, 42 deletions
diff --git a/testing/android-tools/APKBUILD b/testing/android-tools/APKBUILD index 39fa992b0a..ae3a3fc231 100644 --- a/testing/android-tools/APKBUILD +++ b/testing/android-tools/APKBUILD @@ -1,46 +1,40 @@ # Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> pkgname=android-tools -pkgver=6.0.1_p46 +pkgver=7.0.0_p24 _realver=${pkgver/_p/_r} -pkgrel=2 +pkgrel=0 pkgdesc="Android platform tools" url="http://tools.android.com/" arch="all" license="Apache BSD" depends="" depends_dev="" -makedepends="zlib-dev libressl-dev pcre-dev linux-headers bsd-compat-headers - ruby" +makedepends="zlib-dev libressl-dev pcre-dev linux-headers bsd-compat-headers" install="" subpackages="" source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-core-$_realver.tar.gz http://dev.alpinelinux.org/archive/$pkgname/$pkgname-extras-$_realver.tar.gz http://dev.alpinelinux.org/archive/$pkgname/$pkgname-libselinux-$_realver.tar.gz http://dev.alpinelinux.org/archive/$pkgname/$pkgname-f2fs-tools-$_realver.tar.gz + http://dev.alpinelinux.org/archive/$pkgname/$pkgname-safe-iop-$_realver.tar.gz + http://dev.alpinelinux.org/archive/$pkgname/$pkgname-gtest-$_realver.tar.gz - fix-build.patch - fix-getcwd.patch - generate-build.rb + android-tools.patch + musl-fixes.patch " _giturl="https://android.googlesource.com/platform" _gittag="android-$_realver" builddir="$srcdir" -prepare() { - default_prepare || return 1 - - cd "$builddir" - echo "set -x -e" > build.sh - ruby generate-build.rb >> build.sh -} +patch_args="-p0" snapshot() { mkdir -p "$srcdir" && cd "$srcdir" local r= - for r in system/core system/extras external/libselinux external/f2fs-tools; do + for r in system/core system/extras external/libselinux external/f2fs-tools external/gtest external/safe-iop; do local n="${r##*/}.git" local f=$pkgname-"${r##*/}" @@ -56,35 +50,35 @@ snapshot() { } build() { - cd "$builddir" - PKGVER=$pkgver sh build.sh || return 1 + make -C "$builddir" || return 1 } package() { - cd "$builddir" - mkdir -p "$pkgdir"/usr/bin/ - install -Dm755 mkbootimg fastboot adb \ - "$pkgdir"/usr/bin/ || return 1 + make DESTDIR="$pkgdir" PREFIX=/usr \ + -C "$builddir" install || return 1 } -md5sums="db66109fd5ca02ad4ad6c879441ee96c android-tools-core-6.0.1_r46.tar.gz -1d5f3bdf8a54c94e27f9f663ff5ec6c9 android-tools-extras-6.0.1_r46.tar.gz -0ae3837c990c4262f3ada4917acc8153 android-tools-libselinux-6.0.1_r46.tar.gz -b99b09cfef42ac2faad237d51338abad android-tools-f2fs-tools-6.0.1_r46.tar.gz -7272c0aea987e1d4450ed316cb19937a fix-build.patch -b3d1da647a52bf0dd6ca562033648b41 fix-getcwd.patch -3c77207b30748bcf2cbb6dab257bf6ff generate-build.rb" -sha256sums="1e0186dc1160f2db44aee4afb68909760dbf421d9e82de04a850547d70a5fd05 android-tools-core-6.0.1_r46.tar.gz -de52852ee2a172cf193bf43840e2d4418d6dfbdcae68cbff3c77ba0c09f325cb android-tools-extras-6.0.1_r46.tar.gz -5c60e5bfa33e0977ddb6e5f1e0c4df19d88447640d308aaf9665da13b1d370ee android-tools-libselinux-6.0.1_r46.tar.gz -0883c9017c8e498456563c2088e7436eb725a7720d01ac565f27fd2c82263ac8 android-tools-f2fs-tools-6.0.1_r46.tar.gz -bb91e2a8855a5b47d64fbe2a13dcfb5c3bfca5b9e79e06a790cdabe48d55bc2c fix-build.patch -d9e2ba5337c2dbea2d9747c232f56953562494e44faeee88dd0abddb3c810796 fix-getcwd.patch -802f565f7204b720ff86f6acb02aa1ba03b9438b84a38911ba76edeb0824dd3d generate-build.rb" -sha512sums="091c663ff5ba36fed872f30c4d32e4961657ce3bf3c039dd641cc4e003194c5b40aa2dd373f909e58df4529465d5c80784423e8a71229104af75c84c835ead90 android-tools-core-6.0.1_r46.tar.gz -bb3953bfaed031a46dc707896df303a44ea7c764adc48757344c38b805a820c95aa6a702a5e8247c73872466600706e66bf2d3487e6c988cc009197f893426d5 android-tools-extras-6.0.1_r46.tar.gz -765491488780e1da7510fa3146b6ae7443e98ee5b64490aea1fe95d05eb3f96f31c389cbcc33178ffac602f12bda0948f8d7e8dd23bb27628061fd0ba00a106c android-tools-libselinux-6.0.1_r46.tar.gz -b5433ac4b9e3f6b180ebc0b8b5c623b0e1008111e40a179ab4383bd7730ecd09a74d524ee8a5ff8bc1dd0ab8c8cef824c8e8212cf9ad461cff1399de0e96b113 android-tools-f2fs-tools-6.0.1_r46.tar.gz -38e5ce4bfc0305585b1071b52c5d2e47927adc24318abdc466c9eed53ad6ed4fa83b6c1342db51d3a62b76996d2649632012d73c340eaf8b131ac6023248c59a fix-build.patch -d6ab3595d1f77f4baea03d828cc03291cb08e7787ebd653faac4776a2d27ff899f0746516f52c8b533dd104f9e9a1fcede59936de3146f7b8e8955101dacd889 fix-getcwd.patch -421596678ab767d4bf59c54878e82a4faa0e3b5a070803ea37b5ee3c8cd41972d2d8ae46d081ee54a0d5b24874c893f32ad2aae7426090632f8c6099a241030b generate-build.rb" +md5sums="08f229c6a7ee88c9757f7dd204454fb0 android-tools-core-7.0.0_r24.tar.gz +1ed5c25518727a3ae614163fa63b813b android-tools-extras-7.0.0_r24.tar.gz +8d0d5abf79d0e56cc73cffd24f994224 android-tools-libselinux-7.0.0_r24.tar.gz +d4923c0dc9508fa1d6299d633479e306 android-tools-f2fs-tools-7.0.0_r24.tar.gz +5927ee8bddba0a8dcd4ffd3d8b56251e android-tools-safe-iop-7.0.0_r24.tar.gz +b41dd596e7ec64b5d278952dc5415cd9 android-tools-gtest-7.0.0_r24.tar.gz +883cfac28233868a458aab9cfc5da9a1 android-tools.patch +4f1a962a06ce980cc1623e0cd3417a45 musl-fixes.patch" +sha256sums="b6eac2868570c458418c9d9317a00d5ca2552eb33faa693a8014b928c71c1718 android-tools-core-7.0.0_r24.tar.gz +7085bba77af11b7758a4146bc7b13aa2c3ba6ca0e15ccf9173bc86fc32bf5342 android-tools-extras-7.0.0_r24.tar.gz +cd6ec4a1ba06e76dbb2e9eeaa06d23d39e48a21186a9bcc7522694ca1b603b3d android-tools-libselinux-7.0.0_r24.tar.gz +53ae7ea6f7c28847ea249624681fc055b0e95b27f09a55946e22a8352aa91887 android-tools-f2fs-tools-7.0.0_r24.tar.gz +7e961123b32bd0e6fd2d594508746bcaefb6e56990f3afc2c4891f25fcbd7a4d android-tools-safe-iop-7.0.0_r24.tar.gz +8d8e482c14b39df2e5f9db9d0dec6696adeaaf8380de4a7afd76ee83ac702b7a android-tools-gtest-7.0.0_r24.tar.gz +08686f177f6c1bd6901b43816aa83e5f1f3c512f583470b1a520b62d54c3d3e6 android-tools.patch +e4423745d2ac88e24b42250b97345753c954218ec3fc98a1cb3f8b27016eab1f musl-fixes.patch" +sha512sums="f2e054fb236518ce101ba3a17e578985a8e4884c127c113a3e702386abbb5077c647565c21575e1d2103c1f0316c7ddcfd8602b7eadf6955d01054842430ff18 android-tools-core-7.0.0_r24.tar.gz +2dd2b571f17d44b2edb354eee9d913e8a004604fc56cf21bb14b7d081891912443bf7a7a543edad834082f93263b200bc0539200a6cb0a4109f502742529d53f android-tools-extras-7.0.0_r24.tar.gz +3e985e01b4f1d413c4ffb7dea4fa6edc8350872df037eab1e3d109f6f19dcf94a7f77c9bc17d5f2838ebf6f773fb357cf9fb963caccb02b2613793d0e49f6a17 android-tools-libselinux-7.0.0_r24.tar.gz +fbe08ddafa47d647884bb64202d4fceeabd88bcdba825dd9eb1257744b29a85317fe3cc34c991d9c8ba7838f9ab19d4b94fe2acaa3c6564f9d8689be0461b1b9 android-tools-f2fs-tools-7.0.0_r24.tar.gz +baee83d6e0010f3884e9bd56c270294402be9eed2109871b9f2ebc833e35e506605c5d41dfea377e5e59b17b0dbbf4acee2759146d2465b5d2315eb212fa7299 android-tools-safe-iop-7.0.0_r24.tar.gz +303d1b604bd8f8eff8d4d5d9518a43c2d4a96d5d4ca9c89d97120f987897261faa0fee4f22745d066b4a89cdbaeef15cca4cd08fab74340b94c22a8c4d312f4c android-tools-gtest-7.0.0_r24.tar.gz +211fb8d6c37522b26306b75a3d1d2ee05f7c914f32b91a55cfea7375f5f5a99dae484ab11f798caea96de91bb9e345fb67efab19b12c779539fb15b2a687569b android-tools.patch +75e09d7391dba7858cf50d98893c84986b5117e6b920109b0adb4a2e1215b8b85b427fb4e855402f21541cbf01a21430ed2d30296d041ba56c01d0c735334dca musl-fixes.patch" |