wok view android-build-tools/receipt @ rev 25065

grub4dos: binutils 2.37 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 09 15:38:57 2022 +0000 (23 months ago)
parents 6e8b1bcb30e2
children 1e09c4c56491
line source
1 # SliTaz package receipt.
3 PACKAGE="android-build-tools"
4 VERSION="r19.0.3"
5 CATEGORY="development"
6 SHORT_DESC="Build-Tools for Google Android SDK (aapt, aidl, dexdump, etc)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="custom"
9 SOURCE="build-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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://developer.android.com/studio/releases/build-tools 2>/dev/null | \
21 sed '/Build Tools,/!d;/ rc/d;s|.*evision ||;s| .*||;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p ${fs}/opt/android-sdk/${SOURCE}
28 cp -a ${src} ${fs}/opt/android-sdk/${SOURCE}/${VERSION#r}
29 chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE}
30 }