homebrew-core/Formula/log4c.rb
Simon Sigurdhsson 72ee523cd7 +log4c-1.2.1
A logging library for C based on log4j.

Closes Homebrew/homebrew#13105.

Signed-off-by: Max Howell <mxcl@me.com>
2012-09-03 09:47:03 -04:00

18 lines
461 B
Ruby

require 'formula'
class Log4c < Formula
homepage 'http://log4c.sourceforge.net/'
url 'http://sourceforge.net/projects/log4c/files/log4c/1.2.1/log4c-1.2.1.tar.gz'
sha1 'b380947047cd6f71bdec1afe57d7b285fb2a3f38'
head 'cvs://:pserver:anonymous@log4c.cvs.sourceforge.net:/cvsroot/log4c:log4c'
def install
system "./configure", "--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/log4c-config", "--version"
end
end