homebrew-core/Formula/libgpg-error.rb
Jack Nagel 79fef9f5c0 libgpg-error: make universal optional
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-01-26 12:29:40 -06:00

16 lines
429 B
Ruby

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