wok-next view dex2jar/receipt @ rev 19550

Up sxiv (09122016)
author Paul Issott <paul@slitaz.org>
date Fri Dec 09 18:28:34 2016 +0000 (2016-12-09)
parents
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="dex2jar"
4 VERSION="0.0.9.15"
5 CATEGORY="development"
6 SHORT_DESC="Tools to work with android .dex and java .class files."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="https://code.google.com/p/dex2jar/"
11 WGET_URL="https://$PACKAGE.googlecode.com/files/$TARBALL"
13 DEPENDS="java-jre"
14 BUILD_DEPENDS="wget"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share/dex2jar $fs/usr/bin
20 cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar
21 for i in $(cd $src ; ls *.sh); do
22 ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i
23 done
24 }