wok-6.x view python-pybluez/receipt @ rev 15050
kino: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 18:52:35 2013 +0000 (2013-08-12) |
parents | 077ec821cd69 |
children | fd4f1e692109 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pybluez"
4 SOURCE="PyBluez"
5 VERSION="0.18"
6 CATEGORY="development"
7 SHORT_DESC="Python wrappers around system Bluetooth."
8 MAINTAINER="pankso@slitaz.org"
9 DEPENDS="python bluez"
10 BUILD_DEPENDS="$DEPENDS python-dev bluez-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://code.google.com/p/pybluez/"
13 WGET_URL="http://pybluez.googlecode.com/files/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $_pkg/usr $fs
28 }