wok annotate python-usb/receipt @ rev 17250
libarchive-dev: update genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 12:29:39 2014 +0200 (2014-10-19) |
parents | |
children | 7390f8de9846 |
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/" |
pascal@15476 | 12 WGET_URL="$SF_MIRROR/project/pyusb/PyUSB%20${VERSION%.*}/${VERSION/b/-beta-}/$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 cd $src |
pascal@15476 | 21 python setup.py build && |
pascal@15476 | 22 python setup.py install --root=$DESTDIR |
pascal@15476 | 23 } |
pascal@15476 | 24 |
pascal@15476 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15476 | 26 genpkg_rules() |
pascal@15476 | 27 { |
pascal@15476 | 28 cp -a $install/usr $fs |
pascal@15476 | 29 } |