2010-10-18 14:41:05 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Log4cxx < Formula
|
2011-07-27 09:41:17 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=logging/log4cxx/0.10.0/apache-log4cxx-0.10.0.tar.gz'
|
2010-10-18 14:41:05 +00:00
|
|
|
homepage 'http://logging.apache.org/log4cxx/index.html'
|
|
|
|
md5 'b30ffb8da3665178e68940ff7a61084c'
|
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2334
|
|
|
|
cause "Fails with 'collect2: ld terminated with signal 11 [Segmentation fault]'"
|
|
|
|
end
|
2011-03-21 21:24:22 +00:00
|
|
|
|
2011-09-05 04:39:36 +00:00
|
|
|
def options
|
|
|
|
[
|
|
|
|
["--universal", "Build for both 32 & 64 bit Intel."]
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2010-10-18 14:41:05 +00:00
|
|
|
def install
|
2011-09-05 04:39:36 +00:00
|
|
|
ENV.universal_binary if ARGV.build_universal?
|
|
|
|
|
2010-10-18 14:41:05 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
2010-11-01 17:08:49 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
# Docs won't install on OS X
|
|
|
|
"--disable-doxygen"
|
2010-10-18 14:41:05 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|