2013-03-13 05:20:24 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pkcs11Helper < Formula
|
|
|
|
homepage 'https://github.com/OpenSC/OpenSC/wiki/pkcs11-helper'
|
2013-12-09 07:09:23 +00:00
|
|
|
url 'https://github.com/OpenSC/pkcs11-helper/archive/pkcs11-helper-1.11.tar.gz'
|
|
|
|
sha1 '45c84c58430ec749e98d05c9e10a66412b7db739'
|
2013-03-13 05:20:24 +00:00
|
|
|
|
|
|
|
head 'https://github.com/OpenSC/pkcs11-helper.git'
|
|
|
|
|
2013-11-13 17:01:29 +00:00
|
|
|
depends_on 'autoconf' => :build
|
2013-03-13 05:20:24 +00:00
|
|
|
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
|