homebrew-core/Formula/libgpg-error.rb
Reddy d7f3368b76 libgpg-error: add mirror
Closes Homebrew/homebrew#19091.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-04-09 19:53:18 -05:00

17 lines
534 B
Ruby

require 'formula'
class LibgpgError < Formula
homepage 'http://www.gnupg.org/'
url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.11.tar.bz2'
mirror 'http://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.11.tar.gz'
sha1 'be209b013652add5c7e2c473ea114f58203cc6cd'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end