aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libgpg-error.rb
blob: 448679a05eb008d5d2d4fbda261ee6dfa04a57f6 (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.17.tar.bz2"
  mirror "http://ftp.heanet.ie/mirrors/ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.17.tar.bz2"
  sha1 "ba5858b2947e7272dd197c87bac9f32caf29b256"

  bottle do
    cellar :any
    sha1 "2797742803d4b1529d5fd12a91e22ccbe8232511" => :yosemite
    sha1 "7b5d3ad9f1a7de9bb3766d2cbea98547b44ab342" => :mavericks
    sha1 "b8ae825c272dfe2e98f45d49dc5fdce803bafbe7" => :mountain_lion
  end

  option :universal

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