pkgsrc/devel/libnfc/Makefile
khorben b69741eca1 Import global switch for libusb's implementation [2/2]
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.
2018-02-10 13:53:46 +00:00

26 lines
686 B
Makefile

# $NetBSD: Makefile,v 1.2 2018/02/10 13:53:47 khorben Exp $
DISTNAME= libnfc-1.7.1
CATEGORIES= net
MASTER_SITES= https://dl.bintray.com/nfc-tools/sources/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://nfc-tools.org/index.php?title=Libnfc
COMMENT= Low level NFC SDK and Programmers API
LICENSE= gnu-lgpl-v3
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+=--with-drivers=all
CONFIGURE_ARGS+=--enable-doc
BUILD_DEPENDS+= doxygen>=1.8.11:../../devel/doxygen
.include "../../mk/libusb.buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
.include "../../security/pcsc-lite/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"