22768b2714
Closes Homebrew/homebrew#25948. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
18 lines
465 B
Ruby
18 lines
465 B
Ruby
require 'formula'
|
|
|
|
class Log4c < Formula
|
|
homepage 'http://log4c.sourceforge.net/'
|
|
url 'http://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
|
|
|
|
def test
|
|
system "#{bin}/log4c-config", "--version"
|
|
end
|
|
end
|