wok-current view androguard/receipt @ rev 25434
Up znc (1.8.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 29 10:14:47 2022 +0000 (2022-08-29) |
parents | b569b85b0fb9 |
children |
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 }