homebrew-core/Formula/libp11.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

21 lines
568 B
Ruby

require 'formula'
class Libp11 < Formula
homepage 'https://github.com/OpenSC/libp11/wiki'
url 'http://downloads.sourceforge.net/project/opensc/libp11/libp11-0.2.8.tar.gz'
sha1 '2d1f6dc4200038f55a0cb7e22858f93e484b0724'
head 'https://github.com/OpenSC/libp11.git'
depends_on 'pkg-config' => :build
depends_on :libltdl
depends_on :automake if build.head?
def install
system "./bootstrap" if build.head?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end