# HG changeset patch # User Pascal Bellard # Date 1414239316 -7200 # Node ID 6177579905a3207cab336635ef20f641bbdf246b # Parent 123d0bce6945bd17378da3b53db3eef9e7055dab Add dex2jar diff -r 123d0bce6945 -r 6177579905a3 dex2jar/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dex2jar/receipt Sat Oct 25 14:15:16 2014 +0200 @@ -0,0 +1,24 @@ +# SliTaz package receipt. + +PACKAGE="dex2jar" +VERSION="0.0.9.15" +CATEGORY="development" +SHORT_DESC="Tools to work with android .dex and java .class files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="Apache" +TARBALL="$PACKAGE-$VERSION.zip" +WEB_SITE="https://code.google.com/p/dex2jar/" +WGET_URL="https://$PACKAGE.googlecode.com/files/$TARBALL" + +DEPENDS="java-jre" +BUILD_DEPENDS="wget" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/dex2jar $fs/usr/bin + cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar + for i in $(cd $src ; ls *.sh); do + ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i + done +}