wok-6.x annotate dex2jar/receipt @ rev 18552

Up slitaz-tools(952)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 07 22:01:33 2015 +0200 (2015-11-07)
parents
children 6e8b1bcb30e2
rev   line source
pascal@17275 1 # SliTaz package receipt.
pascal@17275 2
pascal@17275 3 PACKAGE="dex2jar"
pascal@17275 4 VERSION="0.0.9.15"
pascal@17275 5 CATEGORY="development"
pascal@17275 6 SHORT_DESC="Tools to work with android .dex and java .class files."
pascal@17275 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17275 8 LICENSE="Apache"
pascal@17275 9 TARBALL="$PACKAGE-$VERSION.zip"
pascal@17275 10 WEB_SITE="https://code.google.com/p/dex2jar/"
pascal@17275 11 WGET_URL="https://$PACKAGE.googlecode.com/files/$TARBALL"
pascal@17275 12
pascal@17275 13 DEPENDS="java-jre"
pascal@17275 14 BUILD_DEPENDS="wget"
pascal@17275 15
pascal@17275 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17275 17 genpkg_rules()
pascal@17275 18 {
pascal@17275 19 mkdir -p $fs/usr/share/dex2jar $fs/usr/bin
pascal@17275 20 cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar
pascal@17275 21 for i in $(cd $src ; ls *.sh); do
pascal@17275 22 ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i
pascal@17275 23 done
pascal@17275 24 }