b69741eca1
This switch is meant to be used by packages requiring an implementation of the former libusb (as in devel/libusb). The original implementation can be chosen by setting LIBUSB_TYPE to "native". The alternative implementation libusb-compat (as in devel/libusb-compat) wraps libusb1 (in devel/libusb1). This implementation can be chosen by setting LIBUSB_TYPE to "compat". On NetBSD, it has the advantage of not requiring root privileges to locate and use USB devices without a kernel driver. This second part switches packages using libusb to this framework. It does not change compilation options or dependencies at this point. Compile-tested on most packages affected and available on NetBSD/amd64.
21 lines
564 B
Makefile
21 lines
564 B
Makefile
# $NetBSD: Makefile,v 1.16 2018/02/10 13:53:46 khorben Exp $
|
|
|
|
DISTNAME= ifp-line-0.3
|
|
CATEGORIES= audio
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ifp-driver/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://ifp-driver.sourceforge.net/
|
|
COMMENT= Command-line interface to iRiver MP3 players
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
|
|
INSTALLATION_DIRS+= bin
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_FEATURES+= fts_open
|
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../mk/libusb.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|