# SliTaz package receipt. PACKAGE="androguard" VERSION="3.3.5" CATEGORY="development" SHORT_DESC="Reverse engineering tool for Android applications." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="Apache2" WEB_SITE="https://github.com/androguard/androguard/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" DEPENDS="python" BUILD_DEPENDS="python-dev python-setuptools" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { python setup.py build && python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/usr $fs }