wok-current annotate python-pybluez/receipt @ rev 22170
linld: clear heap in moverm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 08 10:47:52 2019 +0100 (2019-11-08) |
parents | 7390f8de9846 |
children | 037dc951455b |
rev | line source |
---|---|
pankso@5669 | 1 # SliTaz package receipt. |
pankso@5669 | 2 |
pankso@5669 | 3 PACKAGE="python-pybluez" |
pankso@5669 | 4 SOURCE="PyBluez" |
pankso@5669 | 5 VERSION="0.18" |
pankso@5669 | 6 CATEGORY="development" |
pankso@5669 | 7 SHORT_DESC="Python wrappers around system Bluetooth." |
pankso@5669 | 8 MAINTAINER="pankso@slitaz.org" |
pascal@15378 | 9 LICENSE="GPL" |
pankso@5669 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20679 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
pankso@5669 | 12 WGET_URL="http://pybluez.googlecode.com/files/$TARBALL" |
pankso@5669 | 13 |
pascal@15378 | 14 DEPENDS="python bluez" |
pascal@15378 | 15 BUILD_DEPENDS="$DEPENDS python-dev bluez-dev" |
pascal@15378 | 16 |
pankso@5669 | 17 # Rules to configure and make the package. |
pankso@5669 | 18 compile_rules() |
pankso@5669 | 19 { |
pankso@5669 | 20 python setup.py build && |
pascal@15378 | 21 python setup.py install --root=$DESTDIR |
pankso@5669 | 22 } |
pankso@5669 | 23 |
pankso@5669 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5669 | 25 genpkg_rules() |
pankso@5669 | 26 { |
pankso@5669 | 27 mkdir -p $fs |
pascal@15378 | 28 cp -a $install/usr $fs |
pankso@5669 | 29 } |