wok annotate android-platform-tools/receipt @ rev 16397
Add: android-sdk, android-platform-tools, android-build-tools (I want to install over an android tablet and abd is needed)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 16 09:06:56 2014 +0200 (2014-04-16) |
parents | |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
pankso@16397 | 1 # SliTaz package receipt. |
pankso@16397 | 2 |
pankso@16397 | 3 PACKAGE="android-platform-tools" |
pankso@16397 | 4 VERSION="r19.0.1" |
pankso@16397 | 5 CATEGORY="development" |
pankso@16397 | 6 SHORT_DESC="Platform-Tools for Google Android SDK (adb and fastboot)." |
pankso@16397 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16397 | 8 LICENSE="custom" |
pankso@16397 | 9 SOURCE="platform-tools" |
pankso@16397 | 10 TARBALL="${SOURCE}_${VERSION}-linux.zip" |
pankso@16397 | 11 WEB_SITE="http://developer.android.com" |
pankso@16397 | 12 WGET_URL="http://dl-ssl.google.com/android/repository/$TARBALL" |
pankso@16397 | 13 HOST_ARCH="i486" |
pankso@16397 | 14 |
pankso@16397 | 15 DEPENDS="android-sdk" |
pankso@16397 | 16 |
pankso@16397 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16397 | 18 genpkg_rules() |
pankso@16397 | 19 { |
pankso@16397 | 20 mkdir -p ${fs}/opt/android-sdk |
pankso@16397 | 21 cp -a ${src} ${fs}/opt/android-sdk/${SOURCE} |
pankso@16397 | 22 chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE} |
pankso@16397 | 23 } |
pankso@16397 | 24 |