2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-09 14:11:58 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class LibgpgError < Formula
|
2010-03-18 18:00:24 +00:00
|
|
|
homepage 'http://www.gnupg.org/'
|
2012-02-20 23:26:08 +00:00
|
|
|
url 'ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2'
|
2010-12-30 10:34:52 +00:00
|
|
|
sha1 '95b324359627fbcb762487ab6091afbe59823b29'
|
2009-09-09 14:11:58 +00:00
|
|
|
|
2013-01-26 17:57:14 +00:00
|
|
|
option :universal
|
|
|
|
|
2009-09-09 14:11:58 +00:00
|
|
|
def install
|
2013-01-26 17:57:14 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2010-07-16 16:59:59 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2009-09-09 14:11:58 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|