wok-current diff android-sdk/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents 6e8b1bcb30e2
children
line diff
     1.1 --- a/android-sdk/receipt	Thu Jan 24 11:33:03 2019 +0100
     1.2 +++ b/android-sdk/receipt	Thu Mar 14 20:28:39 2024 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  
     1.5  DEPENDS="java-jre"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://developer.android.com/studio/releases/sdk-tools.html 2>/dev/null | \
    1.11 +	sed '/SDK Tools, Revision/!d;s|.*Revision |r|;s| .*||;q'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {