summaryrefslogtreecommitdiff
path: root/security/pcsc-lite/buildlink3.mk
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2008-03-04 11:29:08 +0000
committershannonjr <shannonjr@pkgsrc.org>2008-03-04 11:29:08 +0000
commit79f9594659d5209a5b2acc2a6a07f253440ff8b7 (patch)
tree7b0114bed943785dbfad3080de3bbfec86f168f5 /security/pcsc-lite/buildlink3.mk
parent47a6b70a2c8520c005f9cd9bff120f6a424bdced (diff)
downloadpkgsrc-79f9594659d5209a5b2acc2a6a07f253440ff8b7.tar.gz
The purpose of PC/SC Lite is to provide a Windows(R) SCard interface in a
very small form factor for communicating to smartcards and readers. The PC/SC Lite library is used to connect to the PC/SC daemon from a client application and provide access to the desired reader.
Diffstat (limited to 'security/pcsc-lite/buildlink3.mk')
-rw-r--r--security/pcsc-lite/buildlink3.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/security/pcsc-lite/buildlink3.mk b/security/pcsc-lite/buildlink3.mk
new file mode 100644
index 00000000000..35d1a55c261
--- /dev/null
+++ b/security/pcsc-lite/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2008/03/04 11:29:08 shannonjr Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+PCSC_LITE_BUILDLINK3_MK:= ${PCSC_LITE_BUILDLINK3_MK}+
+
+.if ${BUILDLINK_DEPTH} == "+"
+BUILDLINK_DEPENDS+= pcsc-lite
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npcsc-lite}
+BUILDLINK_PACKAGES+= pcsc-lite
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}pcsc-lite
+
+.if ${PCSC_LITE_BUILDLINK3_MK} == "+"
+BUILDLINK_API_DEPENDS.pcsc-lite+= pcsc-lite>=1.4.99
+BUILDLINK_PKGSRCDIR.pcsc-lite?= ../../local/pcsc-lite
+.endif # PCSC_LITE_BUILDLINK3_MK
+
+.include "../../devel/libusb/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}