rev |
line source |
pankso@16397
|
1 # SliTaz package receipt.
|
pankso@16397
|
2
|
pankso@16397
|
3 PACKAGE="android-build-tools"
|
pankso@16397
|
4 VERSION="r19.0.3"
|
pankso@16397
|
5 CATEGORY="development"
|
pankso@16397
|
6 SHORT_DESC="Build-Tools for Google Android SDK (aapt, aidl, dexdump, etc)."
|
pankso@16397
|
7 MAINTAINER="pankso@slitaz.org"
|
pankso@16397
|
8 LICENSE="custom"
|
pankso@16397
|
9 SOURCE="build-tools"
|
pankso@16397
|
10 TARBALL="${SOURCE}_${VERSION}-linux.zip"
|
pascal@20671
|
11 WEB_SITE="https://developer.android.com"
|
pankso@16397
|
12 WGET_URL="http://dl-ssl.google.com/android/repository/$TARBALL"
|
pankso@16397
|
13 HOST_ARCH="i486"
|
pankso@16397
|
14
|
pankso@16397
|
15 DEPENDS="android-sdk"
|
pankso@16397
|
16
|
pankso@16397
|
17 # Rules to gen a SliTaz package suitable for Tazpkg.
|
pankso@16397
|
18 genpkg_rules()
|
pankso@16397
|
19 {
|
pankso@16397
|
20 mkdir -p ${fs}/opt/android-sdk/${SOURCE}
|
pankso@16397
|
21 cp -a ${src} ${fs}/opt/android-sdk/${SOURCE}/${VERSION#r}
|
pankso@16397
|
22 chmod -R +Xr ${fs}/opt/android-sdk/${SOURCE}
|
pankso@16397
|
23 }
|