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