wok-6.x view dex2jar/receipt @ rev 24990
idesk: imlib2 >= 1.7.5 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 13 20:03:04 2022 +0000 (2022-05-13) |
parents | dd80d134f7ea |
children | 78727b04c002 |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/dex2jar/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/dex2jar-||;s|.zip.*||;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/dex2jar $fs/usr/bin
28 cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar
29 for i in $(cd $src ; ls *.sh); do
30 ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i
31 done
32 }