wok rev 17275

Add dex2jar
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 25 14:15:16 2014 +0200 (2014-10-25)
parents 123d0bce6945
children 19630aaa1da0
files dex2jar/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dex2jar/receipt	Sat Oct 25 14:15:16 2014 +0200
     1.3 @@ -0,0 +1,24 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="dex2jar"
     1.7 +VERSION="0.0.9.15"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Tools to work with android .dex and java .class files."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="Apache"
    1.12 +TARBALL="$PACKAGE-$VERSION.zip"
    1.13 +WEB_SITE="https://code.google.com/p/dex2jar/"
    1.14 +WGET_URL="https://$PACKAGE.googlecode.com/files/$TARBALL"
    1.15 +
    1.16 +DEPENDS="java-jre"
    1.17 +BUILD_DEPENDS="wget"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	mkdir -p $fs/usr/share/dex2jar $fs/usr/bin
    1.23 +	cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar
    1.24 +	for i in $(cd $src ; ls *.sh); do
    1.25 +		ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i
    1.26 +	done
    1.27 +}