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