wok-6.x annotate android-sdk/receipt @ rev 19685
Up tazpkg (942)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Feb 12 04:43:38 2017 +0200 (2017-02-12) |
parents | |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
pankso@16397 | 1 # SliTaz package receipt. |
pankso@16397 | 2 |
pankso@16397 | 3 PACKAGE="android-sdk" |
pankso@16397 | 4 VERSION="r22.6.2" |
pankso@16397 | 5 CATEGORY="development" |
pankso@16397 | 6 SHORT_DESC="Google Android SDK." |
pankso@16397 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16397 | 8 LICENSE="custom" |
pankso@16397 | 9 TARBALL="${PACKAGE}_${VERSION}-linux.tgz" |
pankso@16397 | 10 WEB_SITE="http://developer.android.com" |
pankso@16397 | 11 WGET_URL="http://dl.google.com/android/$TARBALL" |
pankso@16397 | 12 HOST_ARCH="i486" |
pankso@16397 | 13 |
pankso@16397 | 14 DEPENDS="java-jre" |
pankso@16397 | 15 |
pankso@16397 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16397 | 17 genpkg_rules() |
pankso@16397 | 18 { |
pankso@16397 | 19 mkdir -p ${fs}/opt ${fs}/usr/bin ${fs}/usr/share/pixmaps |
pankso@16397 | 20 cp -a ${src} ${fs}/opt/${PACKAGE} |
pankso@16397 | 21 rm -f ${fs}/opt/${PACKAGE}/tools/*64-* |
pankso@16397 | 22 chmod -R o=g ${fs}/opt/${PACKAGE} |
pankso@16397 | 23 # TazDroid |
pankso@16397 | 24 cp -a ${stuff}/tazdroid ${fs}/usr/bin |
pankso@16397 | 25 cp ${stuff}/android.png ${fs}/usr/share/pixmaps |
pankso@16397 | 26 } |
pankso@16397 | 27 |