homebrew-core/Formula/libconfig.rb
alexrp e7d8a81e93 libconfig: Add universal binary support.
Closes Homebrew/homebrew#16189.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-11-24 13:50:09 -08:00

16 lines
427 B
Ruby

require 'formula'
class Libconfig < Formula
homepage 'http://www.hyperrealm.com/libconfig/'
url 'http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz'
sha1 'c16b9caa207afdf36fc664ad0b2807ecc7a562fa'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
system "make install"
end
end