wok-6.x view android-build-tools/receipt @ rev 25085
gnumeric: added dependency goffice
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:26:00 2022 +0100 (2022-06-17) |
parents | 6e8b1bcb30e2 |
children |
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 }