wok-current view android-sdk/receipt @ rev 24908

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