wok-stable annotate python-pybluez/receipt @ rev 10479
Updated all sourced slitaz-dev-tools receipts to 1.1.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 06:05:57 2011 +0000 (2011-05-25) |
parents | 077ec821cd69 |
children |
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 } |