19 lines
465 B
Ruby
19 lines
465 B
Ruby
require 'formula'
|
|
|
|
class Log4c < Formula
|
|
homepage 'http://log4c.sourceforge.net/'
|
|
url 'https://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz'
|
|
sha1 'a2795d7fcbdf5e43e1cc644893adfa725046abe8'
|
|
|
|
head 'cvs://:pserver:anonymous:@log4c.cvs.sourceforge.net:/cvsroot/log4c:log4c'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/log4c-config", "--version"
|
|
end
|
|
end
|