SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "dex2jar"

# SliTaz package receipt.

PACKAGE="dex2jar"
VERSION="2.0"
CATEGORY="development"
SHORT_DESC="Tools to work with android .dex and java .class files."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="Apache"
WEB_SITE="https://sourceforge.net/projects/dex2jar/"

TARBALL="$PACKAGE-$VERSION.zip"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="java-jre"
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/dex2jar/files/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*/dex2jar-||;s|.zip.*||;q'
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/dex2jar $fs/usr/bin
    cp -a $src/*.sh $src/lib $fs/usr/share/dex2jar
    for i in $(cd $src ; ls *.sh); do
        ln -s /usr/share/dex2jar/$i $fs/usr/bin/$i
    done
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)