wok-6.x view android-sdk/receipt @ rev 18145

Add defragfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 18 16:31:01 2015 +0200 (2015-06-18)
parents
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="android-sdk"
4 VERSION="r22.6.2"
5 CATEGORY="development"
6 SHORT_DESC="Google Android SDK."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="custom"
9 TARBALL="${PACKAGE}_${VERSION}-linux.tgz"
10 WEB_SITE="http://developer.android.com"
11 WGET_URL="http://dl.google.com/android/$TARBALL"
12 HOST_ARCH="i486"
14 DEPENDS="java-jre"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p ${fs}/opt ${fs}/usr/bin ${fs}/usr/share/pixmaps
20 cp -a ${src} ${fs}/opt/${PACKAGE}
21 rm -f ${fs}/opt/${PACKAGE}/tools/*64-*
22 chmod -R o=g ${fs}/opt/${PACKAGE}
23 # TazDroid
24 cp -a ${stuff}/tazdroid ${fs}/usr/bin
25 cp ${stuff}/android.png ${fs}/usr/share/pixmaps
26 }