2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
|
|
|
|
PKG_NAME="libusb"
|
2022-12-16 23:48:54 +00:00
|
|
|
PKG_VERSION="1.0.26"
|
|
|
|
PKG_SHA256="12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="LGPLv2.1"
|
|
|
|
PKG_SITE="http://libusb.info/"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="$SOURCEFORGE_SRC/libusb/files/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain systemd"
|
|
|
|
PKG_LONGDESC="The libusb project's aim is to create a Library for use by user level applications to USB devices."
|
|
|
|
#libusb sometimes fails to build if building paralell
|
|
|
|
PKG_BUILD_FLAGS="-parallel"
|
|
|
|
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="--enable-shared \
|
|
|
|
--enable-static \
|
|
|
|
--disable-log \
|
|
|
|
--disable-debug-log \
|
|
|
|
--enable-udev \
|
|
|
|
--disable-examples-build"
|