wok-6.x annotate python-usb/receipt @ rev 20487
Up perl-dbi-dbd (1.641)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 26 10:22:35 2018 +0200 (2018-10-26) |
parents | 7390f8de9846 |
children | 8dd8bab3f0ca |
rev | line source |
---|---|
pascal@15476 | 1 # SliTaz package receipt. |
pascal@15476 | 2 |
pascal@15476 | 3 PACKAGE="python-usb" |
pascal@15476 | 4 SOURCE="pyusb" |
pascal@15476 | 5 VERSION="1.0.0b1" |
pascal@15476 | 6 CATEGORY="development" |
pascal@15476 | 7 SHORT_DESC="Python bindings for USB access." |
pascal@15476 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15476 | 9 LICENSE="BSD" |
pascal@15476 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@20421 | 11 WEB_SITE="https://sourceforge.net/apps/trac/pyusb/" |
al@18086 | 12 WGET_URL="$SF_MIRROR/pyusb/$TARBALL" |
pascal@15476 | 13 |
pascal@15476 | 14 DEPENDS="python libusb" |
pascal@15476 | 15 BUILD_DEPENDS="python-dev python" |
pascal@15476 | 16 |
pascal@15476 | 17 # Rules to configure and make the package. |
pascal@15476 | 18 compile_rules() |
pascal@15476 | 19 { |
pascal@15476 | 20 python setup.py build && |
pascal@15476 | 21 python setup.py install --root=$DESTDIR |
pascal@15476 | 22 } |
pascal@15476 | 23 |
pascal@15476 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15476 | 25 genpkg_rules() |
pascal@15476 | 26 { |
pascal@15476 | 27 cp -a $install/usr $fs |
pascal@15476 | 28 } |