wok-current annotate android-build-tools/receipt @ rev 24828
updated libshout and libshout-dev again (2.4.3 -> 2.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 23 17:27:54 2022 +0100 (2022-03-23) |
parents | 6e8b1bcb30e2 |
children |
rev | line source |
---|---|
pankso@16397 | 1 # SliTaz package receipt. |
pankso@16397 | 2 |
pankso@16397 | 3 PACKAGE="android-build-tools" |
pankso@16397 | 4 VERSION="r19.0.3" |
pankso@16397 | 5 CATEGORY="development" |
pankso@16397 | 6 SHORT_DESC="Build-Tools for Google Android SDK (aapt, aidl, dexdump, etc)." |
pankso@16397 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16397 | 8 LICENSE="custom" |
pankso@16397 | 9 SOURCE="build-tools" |
pankso@16397 | 10 TARBALL="${SOURCE}_${VERSION}-linux.zip" |
pascal@20671 | 11 WEB_SITE="https://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 |
pascal@24759 | 17 # What is the latest version available today? |
pascal@24759 | 18 current_version() |
pascal@24759 | 19 { |
pascal@24759 | 20 wget -O - https://developer.android.com/studio/releases/build-tools 2>/dev/null | \ |
pascal@24759 | 21 sed '/Build Tools,/!d;/ rc/d;s|.*evision ||;s| .*||;q' |
pascal@24759 | 22 } |
pascal@24759 | 23 |
pankso@16397 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16397 | 25 genpkg_rules() |
pankso@16397 | 26 { |
pankso@16397 | 27 mkdir -p ${fs}/opt/android-sdk/${SOURCE} |
pankso@16397 | 28 cp -a ${src} ${fs}/opt/android-sdk/${SOURCE}/${VERSION#r} |
pankso@16397 | 29 chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE} |
pankso@16397 | 30 } |