wok annotate androguard/receipt @ rev 14794
catfish: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 08 20:42:48 2013 +0000 (2013-07-08) |
parents | |
children | 2b9f96603415 |
rev | line source |
---|---|
pascal@13358 | 1 # SliTaz package receipt. |
pascal@13358 | 2 |
pascal@13358 | 3 PACKAGE="androguard" |
pascal@13358 | 4 VERSION="1.5" |
pascal@13358 | 5 CATEGORY="development" |
pascal@13358 | 6 SHORT_DESC="Reverse engineering tool for Android applications." |
pascal@13358 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@13358 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13358 | 9 WEB_SITE="http://code.google.com/p/$PACKAGE" |
pascal@13358 | 10 WGET_URL="http://$PACKAGE.googlecode.com/files/$TARBALL" |
pascal@13358 | 11 |
pascal@13358 | 12 DEPENDS="python" |
pascal@13358 | 13 BUILD_DEPENDS="python-dev setuptools" |
pascal@13358 | 14 |
pascal@13358 | 15 # Rules to configure and make the package. |
pascal@13358 | 16 compile_rules() |
pascal@13358 | 17 { |
pascal@13358 | 18 cd $src |
pascal@13358 | 19 python setup.py build && |
pascal@13358 | 20 python setup.py install --root=$DESTDIR |
pascal@13358 | 21 } |
pascal@13358 | 22 |
pascal@13358 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13358 | 24 genpkg_rules() |
pascal@13358 | 25 { |
pascal@13358 | 26 cp -a $install/usr $fs |
pascal@13358 | 27 } |