wok annotate python-usb/receipt @ rev 22040

updated tokyocabinet and tokyocabinet-dev (1.4.32 -> 1.4.48)
author Hans-G?nter Theisgen
date Mon Oct 21 17:24:12 2019 +0100 (2019-10-21)
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 }