################################################################################ # This file is part of OpenELEC - http://www.openelec.tv # Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv) # # OpenELEC is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # OpenELEC is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with OpenELEC. If not, see . ################################################################################ PKG_NAME="libusb" PKG_VERSION="1.0.20" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="LGPLv2.1" PKG_SITE="http://libusb.info/" PKG_URL="$SOURCEFORGE_SRC/libusb/files/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS_TARGET="toolchain systemd" 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." PKG_IS_ADDON="no" PKG_AUTORECONF="no" PKG_CONFIGURE_OPTS_TARGET="--enable-shared \ --enable-static \ --disable-log \ --disable-debug-log \ --enable-udev \ --disable-examples-build" pre_configure_target () { #libusb sometimes fails to build if building paralell export MAKEFLAGS=-j1 }