summaryrefslogtreecommitdiffstats
path: root/rules/opensc.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2015-12-09 14:59:24 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2015-12-10 11:39:36 +0100
commit880a9489f343eb1742e215447a622311b63a5980 (patch)
tree711229055662644ac17ab6800546daf18b6ab9fe /rules/opensc.in
parentcb92eb444ab59953a28616ae96d250fa54a93d23 (diff)
downloadptxdist-880a9489f343eb1742e215447a622311b63a5980.tar.gz
ptxdist-880a9489f343eb1742e215447a622311b63a5980.tar.xz
opensc: add new package
Diffstat (limited to 'rules/opensc.in')
-rw-r--r--rules/opensc.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/rules/opensc.in b/rules/opensc.in
new file mode 100644
index 000000000..e42d79259
--- /dev/null
+++ b/rules/opensc.in
@@ -0,0 +1,42 @@
+## SECTION=communication
+
+menuconfig OPENSC
+ tristate "opensc "
+ select ZLIB
+ select READLINE if OPENSC_READLINE
+ select OPENCT if OPENSC_OPENCT
+ select PCSC_LITE if OPENSC_PCSC
+ help
+ Smart card utilities with support for PKCS#15 compatible cards
+
+ OpenSC provides a set of libraries and utilities to access
+ smart cards. It mainly focuses on cards that support
+ cryptographic operations. It facilitates their use in
+ security applications such as mail encryption,
+ authentication, and digital signature. OpenSC implements the
+ PKCS#11 API.
+
+if OPENSC
+
+choice
+ prompt "select SIM provider"
+ default OPENSC_PCSC
+
+ config OPENSC_OPENCT
+ bool "openct"
+
+ config OPENSC_PCSC
+ bool "pcsc-lite"
+
+endchoice
+
+config OPENSC_READLINE
+ bool "readline support"
+
+config OPENSC_TOOLS
+ bool "install tools"
+
+config OPENSC_TESTSUITE
+ bool "install testsuite"
+
+endif