# SliTaz package receipt.

PACKAGE="python-pybluez"
SOURCE="PyBluez"
VERSION="0.18"
CATEGORY="development"
SHORT_DESC="Python wrappers around system Bluetooth."
MAINTAINER="pankso@slitaz.org"
DEPENDS="python bluez"
BUILD_DEPENDS="$DEPENDS python-dev bluez-dev"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://code.google.com/p/pybluez/"
WGET_URL="http://pybluez.googlecode.com/files/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	python setup.py build &&
	python setup.py install --root=$PWD/_pkg
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs
	cp -a $_pkg/usr $fs
}