2011-01-09 18:44:38 +01:00
|
|
|
################################################################################
|
|
|
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
2016-01-02 17:29:56 +01:00
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
2011-01-09 18:44:38 +01:00
|
|
|
#
|
2013-12-21 21:51:48 +01:00
|
|
|
# OpenELEC is free software: you can redistribute it and/or modify
|
2011-01-09 18:44:38 +01:00
|
|
|
# it under the terms of the GNU General Public License as published by
|
2013-12-21 21:51:48 +01:00
|
|
|
# the Free Software Foundation, either version 2 of the License, or
|
|
|
|
|
# (at your option) any later version.
|
2011-01-09 18:44:38 +01:00
|
|
|
#
|
2013-12-21 21:51:48 +01:00
|
|
|
# OpenELEC is distributed in the hope that it will be useful,
|
2011-01-09 18:44:38 +01:00
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2013-12-21 21:51:48 +01:00
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
2011-01-09 18:44:38 +01:00
|
|
|
# GNU General Public License for more details.
|
|
|
|
|
#
|
|
|
|
|
# You should have received a copy of the GNU General Public License
|
2013-12-21 21:51:48 +01:00
|
|
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
2011-01-09 18:44:38 +01:00
|
|
|
################################################################################
|
|
|
|
|
|
2010-11-14 12:39:11 +01:00
|
|
|
PKG_NAME="libusb"
|
2017-05-06 21:16:56 +01:00
|
|
|
PKG_VERSION="1.0.21"
|
2017-07-17 20:49:22 +02:00
|
|
|
PKG_SHA256="7dce9cce9a81194b7065ee912bcd55eeffebab694ea403ffb91b67db66b1824b"
|
2010-11-14 12:39:11 +01:00
|
|
|
PKG_ARCH="any"
|
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"
|
2010-11-14 12:39:11 +01:00
|
|
|
PKG_SECTION="system"
|
|
|
|
|
PKG_SHORTDESC="libusb: OS independent USB device access"
|
|
|
|
|
PKG_LONGDESC="The libusb project's aim is to create a Library for use by user level applications to USB devices regardless of OS."
|
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"
|
2015-09-23 14:28:06 +02:00
|
|
|
|
|
|
|
|
pre_configure_target () {
|
|
|
|
|
#libusb sometimes fails to build if building paralell
|
|
|
|
|
export MAKEFLAGS=-j1
|
|
|
|
|
}
|