wok-current annotate python-usb/receipt @ rev 23099
updated libsdl2 and libsdl2-dev (2.0.9 -> 2.0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 12 08:48:43 2020 +0100 (2020-03-12) |
parents | 86790a278e70 |
children | 36c1f0aa6f5d |
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@20672 | 11 WEB_SITE="https://pypi.org/project/$SOURCE/" |
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 } |