Skip to content

Commit

Permalink
New formula: pkcs11-helper
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
nvandal authored and jacknagel committed Mar 14, 2013
1 parent f437b4a commit 94cf6e4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Formula/pkcs11-helper.rb
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 94cf6e4

Please sign in to comment.