wok rev 15476
Add python-usb
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 10 09:29:01 2013 +0000 (2013-11-10) |
parents | 2859e75177ae |
children | d39aa07ef47c |
files | memtest/stuff/bootloader.S memtest/stuff/pack python-usb/receipt |
line diff
1.1 --- a/memtest/stuff/bootloader.S Sat Nov 09 21:42:42 2013 +0000 1.2 +++ b/memtest/stuff/bootloader.S Sun Nov 10 09:29:01 2013 +0000 1.3 @@ -73,7 +73,11 @@ 1.4 # define PUTS 1.5 movw $EXEADRS(helpmsg), %si 1.6 cmpb $'/', %al 1.7 +# ifdef CHECK_REALMODE 1.8 + je jeputs 1.9 +# else 1.10 je puts 1.11 +# endif 1.12 # endif 1.13 nocmdline: 1.14 #endif 1.15 @@ -92,6 +96,7 @@ 1.16 popfw // restore flags 1.17 addb %ah, %dh // test F0 and 00 cases 1.18 cmpb %ah, %dh 1.19 +jeputs: 1.20 jbe puts // C=8086/80186, Z=80286 1.21 smsww %dx 1.22 shrw $1, %dx
2.1 --- a/memtest/stuff/pack Sat Nov 09 21:42:42 2013 +0000 2.2 +++ b/memtest/stuff/pack Sun Nov 10 09:29:01 2013 +0000 2.3 @@ -56,7 +56,6 @@ 2.4 Memtest86+ is an endless advanced memory diagnostic tool released under the 2.5 terms of the Gnu Public License (GPL). 2.6 2.7 - 2.8 EOT 2.9 )" 2.10 main $1 ${2:-$1.packed} "${3:-$HELP}" 2>/dev/null <<EOT
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/python-usb/receipt Sun Nov 10 09:29:01 2013 +0000 3.3 @@ -0,0 +1,29 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="python-usb" 3.7 +SOURCE="pyusb" 3.8 +VERSION="1.0.0b1" 3.9 +CATEGORY="development" 3.10 +SHORT_DESC="Python bindings for USB access." 3.11 +MAINTAINER="pascal.bellard@slitaz.org" 3.12 +LICENSE="BSD" 3.13 +TARBALL="$SOURCE-$VERSION.tar.bz2" 3.14 +WEB_SITE="http://sourceforge.net/apps/trac/pyusb/" 3.15 +WGET_URL="$SF_MIRROR/project/pyusb/PyUSB%20${VERSION%.*}/${VERSION/b/-beta-}/$TARBALL" 3.16 + 3.17 +DEPENDS="python libusb" 3.18 +BUILD_DEPENDS="python-dev python" 3.19 + 3.20 +# Rules to configure and make the package. 3.21 +compile_rules() 3.22 +{ 3.23 + cd $src 3.24 + python setup.py build && 3.25 + python setup.py install --root=$DESTDIR 3.26 +} 3.27 + 3.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.29 +genpkg_rules() 3.30 +{ 3.31 + cp -a $install/usr $fs 3.32 +}