wok-6.x view dex2jar/receipt @ rev 23861
xvkbd: fix fetch,compile,and genpkg
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 01:26:32 2020 -0400 (2020-06-19) |
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 }