wok-current annotate dex2jar/receipt @ rev 25733

Accept licence PyQt-x11-gpl, bump firmware* to 20240610, build imagemagick (merge)
author Stanislas Leduc <shann@slitaz.org>
date Fri Dec 20 16:13:23 2024 +0000 (6 days ago)
parents 002a704d9c02
children
rev   line source
pascal@17275 1 # SliTaz package receipt.
pascal@17275 2
pascal@17275 3 PACKAGE="dex2jar"
Hans-G?nter@20822 4 VERSION="2.0"
pascal@17275 5 CATEGORY="development"
pascal@17275 6 SHORT_DESC="Tools to work with android .dex and java .class files."
pascal@17275 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17275 8 LICENSE="Apache"
pascal@25510 9 WEB_SITE="https://sourceforge.net/projects/dex2jar/"
Hans-G?nter@20822 10
pascal@17275 11 TARBALL="$PACKAGE-$VERSION.zip"
pascal@25454 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@17275 13
pascal@17275 14 DEPENDS="java-jre"
Hans-G?nter@20822 15 BUILD_DEPENDS=""
pascal@17275 16
pascal@24361 17 # What is the latest version available today?
pascal@24361 18 current_version()
pascal@24361 19 {
pascal@24361 20 wget -O - https://sourceforge.net/projects/dex2jar/files/ 2>/dev/null | \
pascal@24361 21 sed '/scope="row/!d;s|.*/dex2jar-||;s|.zip.*||;q'
pascal@24361 22 }
pascal@24361 23
pascal@17275 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17275 25 genpkg_rules()
pascal@17275 26 {
pascal@17275 27 mkdir -p $fs/usr/share/dex2jar $fs/usr/bin
pascal@17275 28 cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar
pascal@17275 29 for i in $(cd $src ; ls *.sh); do
pascal@17275 30 ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i
pascal@17275 31 done
pascal@17275 32 }