79e4a35b40
1.8.20: Ludovic Rousseau 30 December 2016 - Fix a crash and potential security issue in pcscd 1.8.19: Ludovic Rousseau 9 December 2016 - SCardGetStatusChange(): Fix a (rare) race condition - Doxygen: . SCardGetStatusChange() may return SCARD_E_UNKNOWN_READER . SCardConnect() and SCardReconnect() will never return SCARD_E_NOT_READY - pcsc-spy: . fix display of execution time . log the thread number in the results - Some other minor improvements
50 lines
1.6 KiB
Makefile
50 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.28 2017/02/16 14:19:36 gdt Exp $
|
|
|
|
DISTNAME= pcsc-lite-1.8.20
|
|
CATEGORIES= security
|
|
# Note that the MASTER_SITES URL is not stable with version changes,
|
|
# and one can end up with an old version if DISTNAME is changed but
|
|
# not the magic number in MASTER_SITES.
|
|
# https://alioth.debian.org/frs/?group_id=30105&release_id=2031#pcsclite-_1.8.18-title-content
|
|
MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4203/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://pcsclite.alioth.debian.org/
|
|
|
|
COMMENT= Middleware to access a smart card using SCard API (PC/SC)
|
|
LICENSE= modified-bsd
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config gmake
|
|
USE_LANGUAGES= c c++
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
PLIST_VARS+= spy
|
|
#REPLACE_PYTHON= src/spy/pcsc-spy
|
|
#.include "../../lang/python/application.mk"
|
|
|
|
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --enable-confdir=${PKG_SYSCONFDIR:Q}/reader.conf.d
|
|
CONFIGURE_ARGS+= --enable-ipcdir=${VARBASE}/pcsc-lite
|
|
CONFIGURE_ARGS+= --enable-usbdropdir=${PREFIX}/lib/pcsc-lite/drivers
|
|
CONFIGURE_ARGS+= --disable-libudev
|
|
MAKE_DIRS+= ${VARBASE}/pcsc-lite
|
|
MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite
|
|
MAKE_DIRS+= ${PREFIX}/lib/pcsc-lite/drivers
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/reader.conf.d
|
|
|
|
EGDIR= ${PREFIX}/share/examples/pcsc-lite
|
|
|
|
PKGCONFIG_OVERRIDE+= src/libpcsclite.pc.in
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
RCD_SCRIPTS= pcscd
|
|
|
|
.include "../../devel/libusb1/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|