homebrew-core/Formula/engine_pkcs11.rb
Victor Martinez 8dc451e3e2 Fixed several broken sourceforge.net download locations
Closes Homebrew/homebrew#20645.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-30 12:17:57 -07:00

24 lines
666 B
Ruby

require 'formula'
class EnginePkcs11 < Formula
homepage 'https://github.com/OpenSC/OpenSC/wiki/OpenSSL-engine-for-PKCS%2311-modules'
url 'http://downloads.sourceforge.net/project/opensc/engine_pkcs11/engine_pkcs11-0.1.8.tar.gz'
sha1 '25f3c29c7f47da5f2c0bec1534aceec9651cfed3'
head 'https://github.com/OpenSC/engine_pkcs11.git'
depends_on 'pkg-config' => :build
depends_on 'libp11'
if build.head?
depends_on :automake
depends_on :libtool
end
def install
system "./bootstrap" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end