aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNick Vandal2013-03-13 00:20:24 -0500
committerJack Nagel2013-03-14 14:21:52 -0500
commit820e1b7d251d8331bee81ee59bcd467821f8242c (patch)
tree4e70742c6fca41f983b08b1a8332059b9c826216 /Library/Formula
parentd389fbd21b23802ea58dd22b559108b36cd34a34 (diff)
downloadhomebrew-820e1b7d251d8331bee81ee59bcd467821f8242c.tar.bz2
New formula: pkcs11-helper
pkcs11-helper is a library that simplifies the interaction with PKCS#11 providers for end-user applications using a simple API and optional OpenSSL engine. pkcs11-helper allows using multiple PKCS#11 providers at the same time, enumerating available token certificates, or selecting a certificate directly by serialized id, handling card removal and card insert events, handling card re-insert to a different slot, supporting session expiration and much more all using a simple API. Project website: https://www.opensc-project.org/opensc/wiki/pkcs11-helper Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/pkcs11-helper.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/pkcs11-helper.rb b/Library/Formula/pkcs11-helper.rb
new file mode 100644
index 000000000..23fdc229a
--- /dev/null
+++ b/Library/Formula/pkcs11-helper.rb
@@ -0,0 +1,21 @@
+require 'formula'
+
+class Pkcs11Helper < Formula
+ homepage 'https://github.com/OpenSC/OpenSC/wiki/pkcs11-helper'
+ url 'https://github.com/OpenSC/pkcs11-helper/archive/pkcs11-helper-1.10.tar.gz'
+ sha1 '9737c2f76b277571a8b12cfc3600cf2e076e8623'
+
+ head 'https://github.com/OpenSC/pkcs11-helper.git'
+
+ depends_on 'automake' => :build
+ depends_on 'libtool' => :build
+ depends_on 'pkg-config' => :build
+
+ def install
+ system "autoreconf", "--verbose", "--install", "--force"
+ system "./configure", "--disable-debug", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+end