wok-current view android-build-tools/receipt @ rev 25712
Use symlink for libxvmc-mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 10 20:42:21 2024 +0000 (6 months ago) |
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 }