45f73c608c
I added the option to build log4cplus using C++11 mode Closes Homebrew/homebrew#24217. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
16 lines
452 B
Ruby
16 lines
452 B
Ruby
require 'formula'
|
|
|
|
class Log4cplus < Formula
|
|
homepage 'http://log4cplus.sourceforge.net/'
|
|
url 'http://downloads.sourceforge.net/project/log4cplus/log4cplus-stable/1.1.1/log4cplus-1.1.1.tar.bz2'
|
|
sha1 '3a86b2e124091c9345ee1bac81ca1fb3773fad60'
|
|
|
|
option :cxx11
|
|
|
|
def install
|
|
ENV.cxx11 if build.cxx11?
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|