wok diff android-build-tools/receipt @ rev 19644

dev86: update post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 21 15:22:15 2017 +0100 (2017-01-21)
parents
children 6e8b1bcb30e2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/android-build-tools/receipt	Sat Jan 21 15:22:15 2017 +0100
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="android-build-tools"
     1.7 +VERSION="r19.0.3"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Build-Tools for Google Android SDK (aapt, aidl, dexdump, etc)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="custom"
    1.12 +SOURCE="build-tools"
    1.13 +TARBALL="${SOURCE}_${VERSION}-linux.zip"
    1.14 +WEB_SITE="http://developer.android.com"
    1.15 +WGET_URL="http://dl-ssl.google.com/android/repository/$TARBALL"
    1.16 +HOST_ARCH="i486"
    1.17 +
    1.18 +DEPENDS="android-sdk"
    1.19 +
    1.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 +genpkg_rules()
    1.22 +{
    1.23 +	mkdir -p ${fs}/opt/android-sdk/${SOURCE}
    1.24 +	cp -a ${src} ${fs}/opt/android-sdk/${SOURCE}/${VERSION#r}
    1.25 +	chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE}
    1.26 +}