wok-next view dex2jar/receipt @ rev 18449

newsbeuter: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 21:35:58 2015 +0200 (2015-09-26)
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 }