wok view python-usb/receipt @ rev 20844
created recipe for fluxcomp 1.4.4
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 21 13:50:05 2019 +0100 (2019-02-21) |
parents | 86790a278e70 |
children | 36c1f0aa6f5d |
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="https://pypi.org/project/$SOURCE/"
12 WGET_URL="$SF_MIRROR/pyusb/$TARBALL"
14 DEPENDS="python libusb"
15 BUILD_DEPENDS="python-dev python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $install/usr $fs
28 }