2018-07-16 20:45:36 +02:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2019-02-01 08:11:30 +00:00
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
2011-01-09 18:44:38 +01:00
|
|
|
|
2010-11-14 12:39:11 +01:00
|
|
|
PKG_NAME="libusb"
|
2019-02-01 08:11:30 +00:00
|
|
|
PKG_VERSION="1.0.22"
|
|
|
|
|
PKG_SHA256="75aeb9d59a4fdb800d329a545c2e6799f732362193b465ea198f2aa275518157"
|
2015-09-22 01:36:25 +02:00
|
|
|
PKG_LICENSE="LGPLv2.1"
|
|
|
|
|
PKG_SITE="http://libusb.info/"
|
2010-12-16 13:47:03 +01:00
|
|
|
PKG_URL="$SOURCEFORGE_SRC/libusb/files/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
2014-06-18 09:59:22 +02:00
|
|
|
PKG_DEPENDS_TARGET="toolchain systemd"
|
2018-10-22 15:06:12 +02:00
|
|
|
PKG_LONGDESC="The libusb project's aim is to create a Library for use by user level applications to USB devices."
|
2018-02-23 14:02:16 +01:00
|
|
|
#libusb sometimes fails to build if building paralell
|
|
|
|
|
PKG_BUILD_FLAGS="-parallel"
|
2013-10-11 21:07:35 +03:00
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-shared \
|
|
|
|
|
--enable-static \
|
|
|
|
|
--disable-log \
|
|
|
|
|
--disable-debug-log \
|
2014-06-18 09:59:22 +02:00
|
|
|
--enable-udev \
|
2013-10-11 21:07:35 +03:00
|
|
|
--disable-examples-build"
|