wok-current view dex2jar/receipt @ rev 17829

Up:spk(1.4.3)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Mar 22 22:37:15 2015 +0100 (2015-03-22)
parents
children 6e8b1bcb30e2
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 }