aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libgpg-error.rb
blob: 09072ee11c9bcf06012f98ab163626e4b33bdc0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require 'formula'

class LibgpgError < Formula
  homepage 'http://www.gnupg.org/'
  url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.12.tar.bz2'
  mirror 'http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.12.tar.bz2'
  sha1 '259f359cd1440b21840c3a78e852afd549c709b8'

  bottle do
    cellar :any
    sha1 "462425fc9fcfb5ffc9be39dcfc4bbf41ae85a89e" => :mavericks
    sha1 "bad8593df9630e361413d6df5a9927718e3a0aa4" => :mountain_lion
    sha1 "dc93a01632457b6c36b738894a4ac94bfa585730" => :lion
  end

  option :universal

  def install
    ENV.universal_binary if build.universal?
    system "./configure", "--disable-dependency-tracking",
                          "--prefix=#{prefix}"
    system "make install"
  end
end