yaz: add universal option

This commit is contained in:
Misty De Meo 2015-11-04 19:47:11 -08:00
parent b26a88cb8c
commit a87d6f3dda

View file

@ -11,12 +11,16 @@ class Yaz < Formula
sha256 "c433e6828a9c6b630eb771be906d5db298d9f6e51e504e0a7acca27882f7e9ea" => :mavericks
end
option :universal
depends_on "pkg-config" => :build
depends_on "icu4c" => :recommended
depends_on "gnutls" => :optional
depends_on "libgcrypt" if build.with? "gnutls"
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-xml2"