wok annotate python-pybluez/receipt @ rev 12691
Up: slitaz-tools (5.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 02 16:12:14 2012 +0200 (2012-05-02) |
parents | 077ec821cd69 |
children | fd4f1e692109 |
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" |
pankso@5670 | 9 DEPENDS="python bluez" |
pankso@5670 | 10 BUILD_DEPENDS="$DEPENDS python-dev bluez-dev" |
pankso@5669 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pankso@5669 | 12 WEB_SITE="http://code.google.com/p/pybluez/" |
pankso@5669 | 13 WGET_URL="http://pybluez.googlecode.com/files/$TARBALL" |
pankso@5669 | 14 |
pankso@5669 | 15 # Rules to configure and make the package. |
pankso@5669 | 16 compile_rules() |
pankso@5669 | 17 { |
pankso@5669 | 18 cd $src |
pankso@5669 | 19 python setup.py build && |
pankso@5669 | 20 python setup.py install --root=$PWD/_pkg |
pankso@5669 | 21 } |
pankso@5669 | 22 |
pankso@5669 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5669 | 24 genpkg_rules() |
pankso@5669 | 25 { |
pankso@5669 | 26 mkdir -p $fs |
pankso@5669 | 27 cp -a $_pkg/usr $fs |
pankso@5669 | 28 } |