wok-6.x annotate python-usb/receipt @ rev 18813

python-docopt (update receipt)
author Paul Issott <paul@slitaz.org>
date Thu Jan 14 20:21:12 2016 +0000 (2016-01-14)
parents 1f41e0a09789
children 86790a278e70
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@15476 11 WEB_SITE="http://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 }