wok view dex2jar/receipt @ rev 22479

get-palemoon: add tar flag J -> for .xz
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 29 13:37:05 2019 +0000 (2019-12-29)
parents 6e8b1bcb30e2
children 370da83187ab
line source
1 # SliTaz package receipt.
3 PACKAGE="dex2jar"
4 VERSION="2.0"
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 WEB_SITE="https://sourceforge.net/projects/dex2jar/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="https://sourceforge.net/projects/$PACKAGE/files/$TARBALL"
14 DEPENDS="java-jre"
15 BUILD_DEPENDS=""
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 mkdir -p $fs/usr/share/dex2jar $fs/usr/bin
21 cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar
22 for i in $(cd $src ; ls *.sh); do
23 ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i
24 done
25 }