wok-current annotate python-pybluez/receipt @ rev 20376
nagios: update patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 13 10:34:15 2018 +0200 (2018-06-13) |
parents | fd4f1e692109 |
children | 6135577f4d08 |
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" |
pankso@5669 | 11 WEB_SITE="http://code.google.com/p/pybluez/" |
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 } |