wok diff android-platform-tools/receipt @ rev 17148

: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 10 13:29:12 2014 +0200 (2014-09-10)
parents
children 6e8b1bcb30e2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/android-platform-tools/receipt	Wed Sep 10 13:29:12 2014 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="android-platform-tools"
     1.7 +VERSION="r19.0.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Platform-Tools for Google Android SDK (adb and fastboot)."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="custom"
    1.12 +SOURCE="platform-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
    1.24 +	cp -a ${src} ${fs}/opt/android-sdk/${SOURCE}
    1.25 +	chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE}
    1.26 +}
    1.27 +