2013-03-07 02:06:22 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class EnginePkcs11 < Formula
|
|
|
|
homepage 'https://github.com/OpenSC/OpenSC/wiki/OpenSSL-engine-for-PKCS%2311-modules'
|
2013-06-20 23:08:35 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/opensc/engine_pkcs11/engine_pkcs11-0.1.8.tar.gz'
|
2013-03-07 02:06:22 +00:00
|
|
|
sha1 '25f3c29c7f47da5f2c0bec1534aceec9651cfed3'
|
|
|
|
|
2013-09-20 15:15:53 +00:00
|
|
|
head do
|
|
|
|
url 'https://github.com/OpenSC/engine_pkcs11.git'
|
2013-03-07 02:06:22 +00:00
|
|
|
|
|
|
|
depends_on :automake
|
|
|
|
depends_on :libtool
|
|
|
|
end
|
|
|
|
|
2013-09-20 15:15:53 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'libp11'
|
|
|
|
|
2013-03-07 02:06:22 +00:00
|
|
|
def install
|
|
|
|
system "./bootstrap" if build.head?
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|