2012-06-29 19:47:38 +00:00
|
|
|
class Log4c < Formula
|
|
|
|
homepage 'http://log4c.sourceforge.net/'
|
2014-02-27 14:19:55 +00:00
|
|
|
url 'https://downloads.sourceforge.net/project/log4c/log4c/1.2.4/log4c-1.2.4.tar.gz'
|
2013-10-19 18:16:38 +00:00
|
|
|
sha1 'a2795d7fcbdf5e43e1cc644893adfa725046abe8'
|
2012-06-29 19:47:38 +00:00
|
|
|
|
2014-12-22 05:43:02 +00:00
|
|
|
head ":pserver:anonymous:@log4c.cvs.sourceforge.net:/cvsroot/log4c", :using => :cvs
|
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
|