diff options
| author | Nick Vandal | 2013-03-13 00:20:24 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-14 14:21:52 -0500 |
| commit | 820e1b7d251d8331bee81ee59bcd467821f8242c (patch) | |
| tree | 4e70742c6fca41f983b08b1a8332059b9c826216 /Library/Formula | |
| parent | d389fbd21b23802ea58dd22b559108b36cd34a34 (diff) | |
| download | homebrew-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.rb | 21 |
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 |
