wok view dex2jar/receipt @ rev 24371
updated bird (2.0.7 -> 2.0.8)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 05 15:01:57 2022 +0100 (2022-02-05) |
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 }