homebrew-core/Formula/jansson.rb
nibbles 2bits a1d6edd9ae jansson 2.3.1
Upgrade Jansson to version 2.3.1.
Tested both universal on native on Lion with clang and llvm from
XCode-4.3.3.

Closes Homebrew/homebrew#12836.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-14 17:09:30 -05:00

18 lines
483 B
Ruby

require 'formula'
class Jansson < Formula
homepage 'http://www.digip.org/jansson/'
url 'http://www.digip.org/jansson/releases/jansson-2.3.1.tar.bz2'
sha1 'af7497d930423088fa6d0699d84740fffa0c98df'
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