homebrew-core/Formula/pkcs11-helper.rb
Nick Vandal 94cf6e4a8b 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>
2013-03-14 14:21:52 -05:00

21 lines
641 B
Ruby

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