wok-next annotate android-sdk/receipt @ rev 19067
again
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Thu Apr 21 06:40:20 2016 -0300 (2016-04-21) |
parents | |
children | a3c581bf52b8 |
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 |