pkgsrc/devel/libusb1/Makefile
richard 5e9a930ddf update to libusb-1.0.20
add experimental SunOS backend support adapted from the upstream RTI
submission from Oracle and initial illumos support from OpenIndiana/Hipster

From the Changelog:
For detailed information about the changes below, please see the git log or
visit: http://log.libusb.info

2015-09-13: v1.0.20
* Add Haiku support
* Fix multiple memory and resource leaks (#16, #52, #76, #81)
* Fix possible deadlock when executing transfer callback
* New libusb_free_pollfds() API
* Darwin: Fix devices not being detected on OS X 10.8 (#48)
* Linux: Allow larger isochronous transfer submission (#23)
* Windows: Fix broken builds Cygwin/MinGW builds and compiler warnings
* Windows: Fix broken bus number lookup
* Windows: Improve submission of control requests for composite devices
* Examples: Add two-stage load support to fxload (#12)
* Correctly report cancellations due to timeouts
* Improve efficiency of event handling
* Improve speed of transfer submission in multi-threaded environments
* Various other bug fixes and improvements
The (#xx) numbers are libusb issue numbers, see ie:
https://github.com/libusb/libusb/issues/16

MAKE_JOBS_SAFE=no given build issues when enabled.
2016-04-09 08:18:58 +00:00

35 lines
881 B
Makefile

# $NetBSD: Makefile,v 1.13 2016/04/09 08:18:58 richard Exp $
DISTNAME= libusb-1.0.20
PKGNAME= ${DISTNAME:S/libusb/libusb1/}
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libusb/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://libusb.info/
COMMENT= USB Access Library (version 1)
LICENSE= gnu-lgpl-v2.1
# Solaris doesn't support the hardware-level interface (IIRC).
# Works on Dragonfly but explicitly not wanted by DragonFly upstream;
# see PR 47042.
NOT_FOR_PLATFORM= DragonFly-*-*
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
MAKE_JOBS_SAFE= no
PKGCONFIG_OVERRIDE+= libusb-1.0.pc.in
CONFIGURE_ARGS+= --enable-tests-build
#CONFIGURE_ARGS+= --enable-examples-build
CONFLICTS= libusbx-[0-9]*
do-test:
cd ${WRKSRC}/tests && ./stress
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"