generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
13
package/python-libusb1/Config.in
Normal file
13
package/python-libusb1/Config.in
Normal file
@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_PYTHON_LIBUSB1
|
||||
bool "python-libusb1"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
Pure-python wrapper for libusb-1.0.
|
||||
|
||||
http://github.com/vpelletier/python-libusb1
|
||||
|
||||
comment "python-libusb1 needs a toolchain w/ threads, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
4
package/python-libusb1/python-libusb1.hash
Normal file
4
package/python-libusb1/python-libusb1.hash
Normal file
@ -0,0 +1,4 @@
|
||||
# md5 from https://pypi.python.org/pypi/libusb1/json, sha256 locally computed
|
||||
md5 b087646fb0c8c4cf7e8123af72f885b9 libusb1-2.0.1.tar.gz
|
||||
sha256 d3ba82ecf7ab6a48d21dac6697e26504670cc3522b8e5941bd28fb56cf3f6c46 libusb1-2.0.1.tar.gz
|
||||
sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER
|
||||
15
package/python-libusb1/python-libusb1.mk
Normal file
15
package/python-libusb1/python-libusb1.mk
Normal file
@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# python-libusb1
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_LIBUSB1_VERSION = 2.0.1
|
||||
PYTHON_LIBUSB1_SOURCE = libusb1-$(PYTHON_LIBUSB1_VERSION).tar.gz
|
||||
PYTHON_LIBUSB1_SITE = https://files.pythonhosted.org/packages/a9/97/e8afa2af12b6de608ec86c8c4ad57f1248d98946d1b5e1aa0bff926755e9
|
||||
PYTHON_LIBUSB1_SETUP_TYPE = setuptools
|
||||
PYTHON_LIBUSB1_LICENSE = LGPL-2.1+
|
||||
PYTHON_LIBUSB1_LICENSE_FILES = COPYING.LESSER
|
||||
PYTHON_LIBUSB1_DEPENDENCIES = libusb
|
||||
|
||||
$(eval $(python-package))
|
||||
Reference in New Issue
Block a user