wok view dex2jar/receipt @ rev 24501

updated drbd-utils (9.11.0 -> 9.20.2)
author Hans-G?nter Theisgen
date Sun Feb 20 09:23:47 2022 +0100 (2022-02-20)
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 }