wok-6.x view python-usb/receipt @ rev 16361
Add cwallpaper-fltk for a better users experience on next Rpi release)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Apr 13 23:37:10 2014 +0200 (2014-04-13) |
parents | |
children | 7390f8de9846 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-usb"
4 SOURCE="pyusb"
5 VERSION="1.0.0b1"
6 CATEGORY="development"
7 SHORT_DESC="Python bindings for USB access."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://sourceforge.net/apps/trac/pyusb/"
12 WGET_URL="$SF_MIRROR/project/pyusb/PyUSB%20${VERSION%.*}/${VERSION/b/-beta-}/$TARBALL"
14 DEPENDS="python libusb"
15 BUILD_DEPENDS="python-dev python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }