wok annotate python-gammu/receipt @ rev 20466
fusioninventory-agenti: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 11 13:32:26 2018 +0200 (2018-10-11) |
parents | 2b87dbe5e573 |
children | 814362194a8d |
rev | line source |
---|---|
pascal@19913 | 1 # SliTaz package receipt. |
pascal@19913 | 2 |
pascal@19913 | 3 PACKAGE="python-gammu" |
pascal@19913 | 4 VERSION="2.7" |
pascal@19913 | 5 CATEGORY="development" |
pascal@19913 | 6 SHORT_DESC="Python bindings for Gammu" |
pascal@19913 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@19913 | 8 LICENSE="GPL2" |
pascal@19913 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19913 | 10 WEB_SITE="https://wammu.eu/python-gammu/" |
pascal@19913 | 11 WGET_URL="https://github.com/gammu/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@19913 | 12 |
pascal@19913 | 13 DEPENDS="python gammu" |
pascal@19914 | 14 BUILD_DEPENDS="python-dev gammu-dev pkg-config setuptools" |
pascal@19913 | 15 |
pascal@19913 | 16 # Rules to configure and make the package. |
pascal@19913 | 17 compile_rules() |
pascal@19913 | 18 { |
pascal@19913 | 19 python setup.py build && |
pascal@19913 | 20 python setup.py install --root=$DESTDIR |
pascal@19913 | 21 } |
pascal@19913 | 22 |
pascal@19913 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19913 | 24 genpkg_rules() |
pascal@19913 | 25 { |
pascal@19913 | 26 cp -a $install/usr $fs |
pascal@19913 | 27 } |