2012-06-29 19:47:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Log4c < Formula
|
|
|
|
homepage 'http://log4c.sourceforge.net/'
|
2013-10-19 18:16:38 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz'
|
|
|
|
sha1 'a2795d7fcbdf5e43e1cc644893adfa725046abe8'
|
2012-06-29 19:47:38 +00:00
|
|
|
|
2014-01-16 08:42:00 +00:00
|
|
|
head 'cvs://:pserver:anonymous:@log4c.cvs.sourceforge.net:/cvsroot/log4c:log4c'
|
2012-06-29 19:47:38 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
2014-02-23 21:31:41 +00:00
|
|
|
test do
|
2012-06-29 19:47:38 +00:00
|
|
|
system "#{bin}/log4c-config", "--version"
|
|
|
|
end
|
|
|
|
end
|