blob: 23fdc229af74d4e693ab49d585d68f283d3fbd6d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
  |