aboutsummaryrefslogtreecommitdiffstats
path: root/testing/android-tools
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-08-21 14:25:13 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-08-21 14:26:28 +0200
commit5897ea277abdfd361d65bbf2cca4b93f7c7794f9 (patch)
treeb6a48e5ecd39f8865b0d652da701dd5cfc4719ae /testing/android-tools
parent4c52b5f20f5064ff47f9fb9ae1b431717e768261 (diff)
downloadaports-5897ea277abdfd361d65bbf2cca4b93f7c7794f9.tar.bz2
aports-5897ea277abdfd361d65bbf2cca4b93f7c7794f9.tar.xz
testing/android-tools: add mksdcard
Diffstat (limited to 'testing/android-tools')
-rw-r--r--testing/android-tools/APKBUILD16
-rw-r--r--testing/android-tools/Makefile13
2 files changed, 21 insertions, 8 deletions
diff --git a/testing/android-tools/APKBUILD b/testing/android-tools/APKBUILD
index 9b740a1b8d..ef82ad9676 100644
--- a/testing/android-tools/APKBUILD
+++ b/testing/android-tools/APKBUILD
@@ -3,7 +3,7 @@
pkgname=android-tools
pkgver=5.1.1_p13
_realver=${pkgver/_p/_r}
-pkgrel=0
+pkgrel=1
pkgdesc="Android platform tools"
url="http://tools.android.com/"
arch="all"
@@ -17,6 +17,7 @@ source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-core-$_realver.tar.
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-sdk-$_realver.tar.gz
Makefile"
@@ -27,7 +28,7 @@ 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 sdk; do
local n="${r##*/}.git"
local f=$pkgname-"${r##*/}"
@@ -38,8 +39,8 @@ snapshot() {
fi
git --git-dir $n archive --prefix ${f#$pkgname-}/ -o "$srcdir"/$f-$_realver.tar.gz $_gittag
- scp "$srcdir"/$f-$_realver.tar.gz dev.alpinelinux.org:/archive/$pkgname/
done
+ scp "$srcdir"/$pkgname-*-$_realver.tar.gz dev.alpinelinux.org:/archive/$pkgname/
}
prepare() {
@@ -61,14 +62,17 @@ md5sums="872508bf26b5e3cb04aa73d4ba558d9d android-tools-core-5.1.1_r13.tar.gz
c1451c39af87f6e59330f222f69e143f android-tools-extras-5.1.1_r13.tar.gz
e6eb1bb16898e4ef2000f0dab4e921bd android-tools-libselinux-5.1.1_r13.tar.gz
9087604b3553d1e6f5070f72b9299ec5 android-tools-f2fs-tools-5.1.1_r13.tar.gz
-fab5e5dda238b0658d241029894a2da7 Makefile"
+0c538db4ae36aa390ac79cab95b7f809 android-tools-sdk-5.1.1_r13.tar.gz
+19d59c9442ed7c1882dafa652f815e79 Makefile"
sha256sums="d3ce45dafe5d5388ad6092186753c5482993a81995fb44ffb24bbe756f996c9e android-tools-core-5.1.1_r13.tar.gz
08487b9009067dba2ccd436330873350b9a556fe0a19bd191468e145f99fd14c android-tools-extras-5.1.1_r13.tar.gz
d010434fe8dffe7e7bd649c3b071fd21676b17b861457055637451d3fdb418bb android-tools-libselinux-5.1.1_r13.tar.gz
f9a4c9747bbebbdde5b712e9aac644d8af2b1c8ab2ef340c22824c3e64fa3f49 android-tools-f2fs-tools-5.1.1_r13.tar.gz
-7913d8ba35873e8224e2efe38f035d2eaebfd24fcdf06c4ea6d0795a4010192d Makefile"
+839ad231559e09ce3e95472ab2fcb009f331d24a7c2ee5acbd54333085c49604 android-tools-sdk-5.1.1_r13.tar.gz
+d8b2fca4acf93525ba70779651f8b5ceddf4955299c80c4842cfe05a7facc4d8 Makefile"
sha512sums="46081c68fb9907ac454ffbb6d9c783eec31a112b9a87d0fd77f6b5cba3b1b6ccc1f9c05b05699d0fe3f6fb82e71900ecf5b4813fdae393f02ff518c5a7500ad6 android-tools-core-5.1.1_r13.tar.gz
318a8ea0dc9b956d329405eb807d61972579ea04ec1692ea0b1c7f273339a14353f52f15b4f5f5e61357fee1cf010ddee116ef8b6428a76de8c4adbba23900a1 android-tools-extras-5.1.1_r13.tar.gz
2f301ebbe079eff510df3312b6d63bdd6e456c0e418f6a94a6718f5560f94c402851dcf5edfda71315570fd6a8fcd6306d8c640a74ee36efb39e73318e8d570f android-tools-libselinux-5.1.1_r13.tar.gz
9bc54d777f4ead1878e389932f1b60027b146a6a1afa78f187e20dd473826b8a02dbadaced87ef3f764941712f99c81e8113cc6e5cb1f0e7975c7af747d7c3aa android-tools-f2fs-tools-5.1.1_r13.tar.gz
-07aedfba9a401e329aa7790b696b43f4d6993cbaa9cd6f5022b4bcd79c55b7cf8394fd812c697d9837496d1d5bda0db8912f4d8f460b9f6a834ce590aab05476 Makefile"
+5e9c0c2a5e6e5d0255813722a1d9db0eb9350a21942c03071cd925c193df9cae46bb9a657e4f6a29ebc86dacc1c5d10784bca1d1d842ebf3b3c8310d378c2ef2 android-tools-sdk-5.1.1_r13.tar.gz
+0868206cbfb60b57a134354b541de93ec3bbef51d87e3b4bda7ecd01a6e94ef3f5bc323c49a6fb6eb2560beec8744c2cabd969ec968bc2b774a1b64f291f5d05 Makefile"
diff --git a/testing/android-tools/Makefile b/testing/android-tools/Makefile
index 021975d7c9..679df34896 100644
--- a/testing/android-tools/Makefile
+++ b/testing/android-tools/Makefile
@@ -1,8 +1,8 @@
-all: mkbootimg fastboot adb
+all: mkbootimg fastboot adb mksdcard
install:
install -m755 -d $(DESTDIR)/usr/bin
- install -m755 -t $(DESTDIR)/usr/bin mkbootimg fastboot adb
+ install -m755 -t $(DESTDIR)/usr/bin mkbootimg fastboot adb mksdcard
clean:
rm -f **/*.o
@@ -99,3 +99,12 @@ FASTBOOT_LIBS += -lz -ldl -lpcre
fastboot: $(FASTBOOT_SRCS)
$(CC) -o $@ $(CFLAGS) $(FASTBOOT_CFLAGS) $(LDFLAGS) $(FASTBOOT_SRCS) $(FASTBOOT_LIBS)
+
+
+MKSDCARD_SRCS += $(wildcard sdk/emulator/mksdcard/src/source/*.c)
+
+mksdcard: $(MKSDCARD_SRCS)
+ $(CC) -o $@ $(CFLAGS) $(MKSDCARD_CFLAGS) $(LDFLAGS) $(MKSDCARD_SRCS) $(MKSDCARD_LIBS)
+
+
+