diff options
author | Philip van der Hoeven <philip@vd-hoeven.nl> | 2014-12-27 07:41:44 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-12-27 23:16:20 -0600 |
commit | 0fcfb845074678c199a4898d3ccdd0179ea3cad2 (patch) | |
tree | e7bfae018fed1d70f1596d1ac9eab9c222173fff /development | |
parent | b4d82fb1bebac8b8693b1929e8709e3b2e5c03b6 (diff) |
development/android-tools: Fixed source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r-- | development/android-tools/android-tools.SlackBuild | 32 | ||||
-rw-r--r-- | development/android-tools/android-tools.info | 16 |
2 files changed, 26 insertions, 22 deletions
diff --git a/development/android-tools/android-tools.SlackBuild b/development/android-tools/android-tools.SlackBuild index 3e3551f8d0543..26e846f5e9c60 100644 --- a/development/android-tools/android-tools.SlackBuild +++ b/development/android-tools/android-tools.SlackBuild @@ -1,5 +1,5 @@ #!/bin/sh - +# # Slackware build script for android-tools # Thanks to the Arch linux maintainers for the makefiles @@ -26,7 +26,6 @@ PRGNAM=android-tools VERSION=${VERSION:-5.0.2_r1} - SRCVERSION1=8032f3b5a501dabc1e28925cca834d2a39efbdee SRCVERSION2=ba2a23604727e5b333dd16a9287556d799d6d39e SRCVERSION3=3946f9119bf4eadfcfb17bd15661515328cbbc86 @@ -64,16 +63,21 @@ fi set -e -rm -rf $TMP/$PRGNAM $PKG -mkdir -p $TMP/$PRGNAM $PKG $OUTPUT - -cd $TMP/$PRGNAM - -mkdir core extras libselinux f2fs-tools -tar xvf $CWD/$SRCVERSION1.tar.gz -C core -tar xvf $CWD/$SRCVERSION2.tar.gz -C extras -tar xvf $CWD/$SRCVERSION3.tar.gz -C libselinux -tar xvf $CWD/$SRCVERSION4.tar.gz -C f2fs-tools +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $TMP/android-tools +mkdir $TMP/android-tools +cd $TMP/android-tools + +mkdir core +tar -xvf $CWD/$SRCVERSION1.tar.gz -C core +mkdir extras +tar -xvf $CWD/$SRCVERSION2.tar.gz -C extras +mkdir libselinux +tar -xvf $CWD/$SRCVERSION3.tar.gz -C libselinux +mkdir f2fs-tools +tar -xvf $CWD/$SRCVERSION4.tar.gz -C f2fs-tools #git clone --branch android-$VERSION --depth 1 https://android.googlesource.com/platform/system/core #git clone --branch android-$VERSION --depth 1 https://android.googlesource.com/platform/system/extras @@ -95,8 +99,8 @@ make -C core/adb -f $TMP/android-tools/adbMakefile make -C core/fastboot -f $TMP/android-tools/fastbootMakefile mkdir -p $PKG/usr/bin -install -Dm 0755 core/adb/adb $PKG/usr/bin/adb -install -Dm 0755 core/fastboot/fastboot $PKG/usr/bin/fastboot +install -Dm 755 core/adb/adb $PKG/usr/bin/adb +install -Dm 755 core/fastboot/fastboot $PKG/usr/bin/fastboot find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/development/android-tools/android-tools.info b/development/android-tools/android-tools.info index ff86277739dbf..a8a9aa8eee074 100644 --- a/development/android-tools/android-tools.info +++ b/development/android-tools/android-tools.info @@ -1,14 +1,14 @@ PRGNAM="android-tools" VERSION="5.0.2_r1" HOMEPAGE="http://developer.android.com/sdk/" -DOWNLOAD="https://android.googlesource.com/platform/system/core/+archive/8032f3b5a501dabc1e28925cca834d2a39efbdee.tar.gz \ - https://android.googlesource.com/platform/system/extras/+archive/ba2a23604727e5b333dd16a9287556d799d6d39e.tar.gz \ - https://android.googlesource.com/platform/external/libselinux/+archive/3946f9119bf4eadfcfb17bd15661515328cbbc86.tar.gz \ - https://android.googlesource.com/platform/external/f2fs-tools/+archive/fc24ac8347630a14d62ffafa93a27ec3b81cc44b.tar.gz" -MD5SUM="ebde02fa28a51e2c875be43b3494083a \ - 39aab0dbf446b90dfbacb02d26766b61 \ - bb47cfc12988d5085d475aa10e7f0226 \ - b409492b91203f56ca5c97fe4de35ba0" +DOWNLOAD="https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/8032f3b5a501dabc1e28925cca834d2a39efbdee.tar.gz \ + https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/ba2a23604727e5b333dd16a9287556d799d6d39e.tar.gz \ + https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/3946f9119bf4eadfcfb17bd15661515328cbbc86.tar.gz \ + https://sourceforge.net/projects/slackbuildsdirectlinks/files/android-tools/fc24ac8347630a14d62ffafa93a27ec3b81cc44b.tar.gz" +MD5SUM="c558a90990a05050005e7826eb9352ec \ + 4f07dd7d50df0d6146d030ee9767b235 \ + f83ecb1ebf39413d1af3bcf4ddeebd42 \ + 566e83f21767fa1f45d06281c9d7184c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |