wok diff dex2jar/receipt @ rev 20175

fake-sane: fix path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 24 14:55:51 2018 +0100 (2018-01-24)
parents
children 6e8b1bcb30e2
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dex2jar/receipt	Wed Jan 24 14:55:51 2018 +0100
     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 +}