wok annotate android-sdk/receipt @ rev 25303

updated shared-mime-info and shared-mime-info-dev (1.15 -> 2.2)
author Hans-G?nter Theisgen
date Wed Jul 20 09:08:48 2022 +0100 (2022-07-20)
parents 6e8b1bcb30e2
children
rev   line source
pankso@16397 1 # SliTaz package receipt.
pankso@16397 2
pankso@16397 3 PACKAGE="android-sdk"
pankso@16397 4 VERSION="r22.6.2"
pankso@16397 5 CATEGORY="development"
pankso@16397 6 SHORT_DESC="Google Android SDK."
pankso@16397 7 MAINTAINER="pankso@slitaz.org"
pankso@16397 8 LICENSE="custom"
pankso@16397 9 TARBALL="${PACKAGE}_${VERSION}-linux.tgz"
pascal@20671 10 WEB_SITE="https://developer.android.com"
pankso@16397 11 WGET_URL="http://dl.google.com/android/$TARBALL"
pankso@16397 12 HOST_ARCH="i486"
pankso@16397 13
pankso@16397 14 DEPENDS="java-jre"
pankso@16397 15
pascal@24541 16 # What is the latest version available today?
pascal@24541 17 current_version()
pascal@24541 18 {
pascal@24541 19 wget -O - https://developer.android.com/studio/releases/sdk-tools.html 2>/dev/null | \
pascal@24541 20 sed '/SDK Tools, Revision/!d;s|.*Revision |r|;s| .*||;q'
pascal@24541 21 }
pascal@24541 22
pankso@16397 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16397 24 genpkg_rules()
pankso@16397 25 {
pankso@16397 26 mkdir -p ${fs}/opt ${fs}/usr/bin ${fs}/usr/share/pixmaps
pankso@16397 27 cp -a ${src} ${fs}/opt/${PACKAGE}
pankso@16397 28 rm -f ${fs}/opt/${PACKAGE}/tools/*64-*
pankso@16397 29 chmod -R o=g ${fs}/opt/${PACKAGE}
pankso@16397 30 # TazDroid
pankso@16397 31 cp -a ${stuff}/tazdroid ${fs}/usr/bin
pankso@16397 32 cp ${stuff}/android.png ${fs}/usr/share/pixmaps
pankso@16397 33 }
pankso@16397 34