9fefd4bb7f
Changes 1.4.34 - 24 January 2021, Ludovic Rousseau - Add support of - ACS ACR1252IMP Reader - ACS CryptoMate EVO - Aktiv Rutoken SCR 3001 Reader - Avtor KP-375BLE - Avtor SC Reader KP382 - BIT4ID mLector AIR DI V3 - BIT4ID miniLector AIR NFC v3 - Bit4id Digital-DNA Key (ProductID 0x2354) - Canokeys Canokey - DESKO GmbH IDenty chrom - DESKO GmbH PENTA Scanner - FT Biopass CCID - FT Biopass FIDO2 - FT Biopass KB CCID - FT Biopass KB FIDO CCID - Feitian BLE CCID Dongle - Feitian R805 - Feitian vR504 Contactless Reader - GoTrust Idem Key - Identiv uTrust 3720 Contactless Reader - Sunrex HP USB Business Slim Smartcard CCID Keyboard - sysmocom - s.f.m.c. GmbH sysmoOCTSIM - Fail if the requested protocol is not supported by reader - Disable USB suspend for the AlcorMicro AU9520 reader - Return "no smart card" if we get notified during a transmit - Minor improvements reported by Maksim Ivanov - Some other minor improvements
60 lines
2 KiB
Makefile
60 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.34 2021/01/24 19:06:10 gdt Exp $
|
|
#
|
|
|
|
DISTNAME= ccid-1.4.34
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://ccid.apdu.fr/files/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= gdt@NetBSD.org
|
|
HOMEPAGE= https://ccid.apdu.fr/
|
|
COMMENT= Middleware to access a smart card using SCard API (PC/SC)
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS= VARBASE
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
USE_TOOLS+= autoconf automake aclocal autoheader
|
|
USE_TOOLS+= flex perl
|
|
USE_LANGUAGES= c c++
|
|
|
|
# Work around a bug where the rules for parse do not include the
|
|
# PTHREAD vars. Not yet reported upstream.
|
|
PTHREAD_AUTO_VARS= yes
|
|
|
|
CONFIGURE_ARGS+= --sharedstatedir=${VARBASE:Q}
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
|
|
REPLACE_PERL= src/convert_version.pl src/create_Info_plist.pl
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8
|
|
INSTALLATION_DIRS+= sbin share/doc/ccid
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && ${SH} bootstrap
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/ccid/README.md
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd \
|
|
${DESTDIR}${PREFIX}/bin/RSA_SecurID_getpasswd
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/RSA_SecurID/RSA_SecurID_getpasswd.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/RSA_SecurID_getpasswd.1
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch \
|
|
${DESTDIR}${PREFIX}/sbin/Kobil_mIDentity_switch
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/Kobil_mIDentity_switch/Kobil_mIDentity_switch.8 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/Kobil_mIDentity_switch.8
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/Kobil_mIDentity_switch/README_Kobil_mIDentity_switch.txt \
|
|
${DESTDIR}${PREFIX}/share/doc/ccid/README_Kobil_mIDentity_switch.txt
|
|
|
|
.include "../../security/pcsc-lite/buildlink3.mk"
|
|
.if ${OPSYS} == "Linux"
|
|
BUILDLINK_DEPMETHOD.flex= full
|
|
.include "../../devel/flex/buildlink3.mk"
|
|
.endif
|
|
.include "../../devel/libusb1/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|