2010-05-27 14:21:10 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libconfig < Formula
|
2010-05-27 14:21:10 +00:00
|
|
|
homepage 'http://www.hyperrealm.com/libconfig/'
|
2012-07-14 20:49:48 +00:00
|
|
|
url 'http://www.hyperrealm.com/libconfig/libconfig-1.4.8.tar.gz'
|
|
|
|
sha1 'c16b9caa207afdf36fc664ad0b2807ecc7a562fa'
|
2010-05-27 14:21:10 +00:00
|
|
|
|
2012-11-22 01:33:48 +00:00
|
|
|
option :universal
|
|
|
|
|
2010-05-27 14:21:10 +00:00
|
|
|
def install
|
2012-11-22 01:33:48 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2010-05-27 14:21:10 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|