a1d6edd9ae
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>
18 lines
483 B
Ruby
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
|