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

class LibgpgError < Formula
  homepage "http://www.gnupg.org/"
  url "ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.16.tar.bz2"
  mirror "http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.16.tar.bz2"
  sha1 "059c40a2b78c3ac2b4cbec0e0481faba5af332fe"

  bottle do
    cellar :any
    sha1 "c9d320a135686d2dccef6328a7d9b926ba04db2a" => :mavericks
    sha1 "5fa28dbea7cf575256f8c7d801f5c162af1b948d" => :mountain_lion
    sha1 "e934e5ef48e6d87c06324cb5e50637cd979d2bc5" => :lion
  end

  option :universal

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