wok view android-platform-tools/receipt @ rev 24071
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 07 10:35:01 2021 +0000 (2021-07-07) |
parents | 6e8b1bcb30e2 |
children | 7dc646816bdc |
line source
1 # SliTaz package receipt.
3 PACKAGE="android-platform-tools"
4 VERSION="r19.0.1"
5 CATEGORY="development"
6 SHORT_DESC="Platform-Tools for Google Android SDK (adb and fastboot)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="custom"
9 SOURCE="platform-tools"
10 TARBALL="${SOURCE}_${VERSION}-linux.zip"
11 WEB_SITE="https://developer.android.com"
12 WGET_URL="http://dl-ssl.google.com/android/repository/$TARBALL"
13 HOST_ARCH="i486"
15 DEPENDS="android-sdk"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p ${fs}/opt/android-sdk ${fs}/usr/bin
21 cp -a ${src} ${fs}/opt/android-sdk/${SOURCE}
22 chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE}
23 ln -s /opt/android-sdk/platform-tools/adb ${fs}/usr/bin
24 }