homebrew-core/Formula/log4cplus.rb
Steven Hahn 45f73c608c log4cplus: added c++11 option
I added the option to build log4cplus using C++11 mode

Closes Homebrew/homebrew#24217.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-11-13 07:53:58 -08:00

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