wok annotate python-gammu/receipt @ rev 21582

Use python-setuptools as bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 19 19:45:04 2019 +0200 (2019-05-19)
parents e6ec256b965e
children 6bd7ca7be514
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@21582 14 BUILD_DEPENDS="python-dev gammu-dev pkg-config python-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 }