# HG changeset patch # User Christophe Lincoln # Date 1397632016 -7200 # Node ID fb93e543dbce319c8fa2944b168a4a86283f7368 # Parent 233707dcd75209edf8f17dd60b581d879e704836 Add: android-sdk, android-platform-tools, android-build-tools (I want to install over an android tablet and abd is needed) diff -r 233707dcd752 -r fb93e543dbce android-build-tools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/android-build-tools/receipt Wed Apr 16 09:06:56 2014 +0200 @@ -0,0 +1,23 @@ +# SliTaz package receipt. + +PACKAGE="android-build-tools" +VERSION="r19.0.3" +CATEGORY="development" +SHORT_DESC="Build-Tools for Google Android SDK (aapt, aidl, dexdump, etc)." +MAINTAINER="pankso@slitaz.org" +LICENSE="custom" +SOURCE="build-tools" +TARBALL="${SOURCE}_${VERSION}-linux.zip" +WEB_SITE="http://developer.android.com" +WGET_URL="http://dl-ssl.google.com/android/repository/$TARBALL" +HOST_ARCH="i486" + +DEPENDS="android-sdk" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p ${fs}/opt/android-sdk/${SOURCE} + cp -a ${src} ${fs}/opt/android-sdk/${SOURCE}/${VERSION#r} + chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE} +} diff -r 233707dcd752 -r fb93e543dbce android-platform-tools/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/android-platform-tools/receipt Wed Apr 16 09:06:56 2014 +0200 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="android-platform-tools" +VERSION="r19.0.1" +CATEGORY="development" +SHORT_DESC="Platform-Tools for Google Android SDK (adb and fastboot)." +MAINTAINER="pankso@slitaz.org" +LICENSE="custom" +SOURCE="platform-tools" +TARBALL="${SOURCE}_${VERSION}-linux.zip" +WEB_SITE="http://developer.android.com" +WGET_URL="http://dl-ssl.google.com/android/repository/$TARBALL" +HOST_ARCH="i486" + +DEPENDS="android-sdk" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p ${fs}/opt/android-sdk + cp -a ${src} ${fs}/opt/android-sdk/${SOURCE} + chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE} +} + diff -r 233707dcd752 -r fb93e543dbce android-sdk/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/android-sdk/receipt Wed Apr 16 09:06:56 2014 +0200 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="android-sdk" +VERSION="r22.6.2" +CATEGORY="development" +SHORT_DESC="Google Android SDK." +MAINTAINER="pankso@slitaz.org" +LICENSE="custom" +TARBALL="${PACKAGE}_${VERSION}-linux.tgz" +WEB_SITE="http://developer.android.com" +WGET_URL="http://dl.google.com/android/$TARBALL" +HOST_ARCH="i486" + +DEPENDS="java-jre" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p ${fs}/opt ${fs}/usr/bin ${fs}/usr/share/pixmaps + cp -a ${src} ${fs}/opt/${PACKAGE} + rm -f ${fs}/opt/${PACKAGE}/tools/*64-* + chmod -R o=g ${fs}/opt/${PACKAGE} + # TazDroid + cp -a ${stuff}/tazdroid ${fs}/usr/bin + cp ${stuff}/android.png ${fs}/usr/share/pixmaps +} + diff -r 233707dcd752 -r fb93e543dbce android-sdk/stuff/android-sdk.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/android-sdk/stuff/android-sdk.desktop Wed Apr 16 09:06:56 2014 +0200 @@ -0,0 +1,6 @@ +[Desktop Entry] +Name=Android SDK +Exec=tazdroid +Icon=android +Type=Application +Categories=Development; diff -r 233707dcd752 -r fb93e543dbce android-sdk/stuff/android.png Binary file android-sdk/stuff/android.png has changed