wok annotate python-pybluez/receipt @ rev 15652
Up netsurf (2.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 11 10:13:20 2013 +0100 (2013-12-11) |
parents | 97dbb8e8d7fe |
children | 7390f8de9846 |
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 cd $src |
pankso@5669 | 21 python setup.py build && |
pascal@15378 | 22 python setup.py install --root=$DESTDIR |
pankso@5669 | 23 } |
pankso@5669 | 24 |
pankso@5669 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5669 | 26 genpkg_rules() |
pankso@5669 | 27 { |
pankso@5669 | 28 mkdir -p $fs |
pascal@15378 | 29 cp -a $install/usr $fs |
pankso@5669 | 30 } |