wok view androguard/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (24 months ago)
parents b569b85b0fb9
children 343c093ad221
line source
1 # SliTaz package receipt.
3 PACKAGE="androguard"
4 VERSION="3.3.5"
5 CATEGORY="development"
6 SHORT_DESC="Reverse engineering tool for Android applications."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache2"
9 WEB_SITE="https://github.com/androguard/androguard/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
14 DEPENDS="python"
15 BUILD_DEPENDS="python-dev python-setuptools"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py build &&
28 python setup.py install --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs
35 }