get-scripts annotate apk-studio @ rev 54

Add zd1201-firmware
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 23 13:31:41 2016 +0200 (2016-04-23)
parents 9236e88ec240
children 62d94e6800db
rev   line source
pascal@34 1 SHORT_DESC="Android revese-engineering"
pascal@26 2 WEB_SITE="https://apkstudio.codeplex.com/"
pascal@40 3 CATEGORY="development"
pascal@40 4 VERSION="2.0.3b"
pascal@40 5 LICENSE="CDDL"
pascal@34 6 # end of get.list data
pascal@26 7 TARBALL="apkstudio-$VERSION-ubuntu-linux.tar.bz2"
pascal@26 8 WGET_URL="http://download-codeplex.sec.s-msft.com/Download/Release?ProjectName=apkstudio&DownloadId=909467&FileTime=130554250225130000&Build=20941"
pascal@26 9 BUILD_DEPENDS="wget"
pascal@26 10
pascal@26 11 wget --no-check-certificate -O $TARBALL "$WGET_URL"
pascal@26 12 [ -f $TARBALL ] || abort_package "Could not download $TARBALL from $URL. Exiting."
pascal@26 13
pascal@27 14 mkdir -p $PACKAGE-$VERSION/fs/usr/share/$PACKAGE $PACKAGE-$VERSION/fs/usr/bin
pascal@27 15 tar xjf $TARBALL -C $PACKAGE-$VERSION/fs/usr/share/$PACKAGE
pascal@27 16 cat > $PACKAGE-$SOURCE/fs/usr/bin/apkstudio <<EOT
pascal@26 17 #!/bin/sh
pascal@26 18
pascal@26 19 APKSTUDIO_DIRECTORY=/usr/share/$PACKAGE
pascal@26 20 APKSTUDIO_BINARY=$PACKAGE
pascal@26 21 export LD_LIBRARY_PATH=\$APKSTUDIO_DIRECTORY
pascal@26 22 export QT_QPA_PLATFORM_PLUGIN_PATH=\$APKSTUDIO_DIRECTORY/platforms
pascal@26 23 \$APKSTUDIO_DIRECTORY/\$APKSTUDIO_BINARY "\$@" -style gtk+
pascal@26 24 EOT
pascal@27 25 chmod +x $PACKAGE-$SOURCE/fs/usr/bin/apkstudio