wok-current annotate python-gammu/receipt @ rev 19914
python-gammu: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 13 15:41:26 2017 +0200 (2017-04-13) |
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 } |