homebrew-core/Formula/jansson.rb

19 lines
471 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Jansson < Formula
url 'http://www.digip.org/jansson/releases/jansson-2.3.tar.gz'
homepage 'http://www.digip.org/jansson/'
md5 '17d92cb6200cc06d8403134cb37ad2b8'
def options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end