aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/pkcs11-helper.rb
blob: 9bb2aad306745b966e64c9e6e44cfe440c6b59fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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.11.tar.gz'
  sha1 '45c84c58430ec749e98d05c9e10a66412b7db739'

  head 'https://github.com/OpenSC/pkcs11-helper.git'

  depends_on 'autoconf' => :build
  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