2011-04-21 21:18:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Log4cplus < Formula
|
|
|
|
homepage 'http://log4cplus.sourceforge.net/'
|
2013-11-19 14:58:36 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/1.1.2/log4cplus-1.1.2.tar.bz2'
|
|
|
|
sha1 '39caf65f9aaaed3698dcc239a2fa26f1f90952c9'
|
2011-04-21 21:18:14 +00:00
|
|
|
|
2013-11-12 16:13:48 +00:00
|
|
|
option :cxx11
|
|
|
|
|
2011-04-21 21:18:14 +00:00
|
|
|
def install
|
2013-11-12 16:13:48 +00:00
|
|
|
ENV.cxx11 if build.cxx11?
|
2011-04-21 21:18:14 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|