2010-02-13 18:11:29 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Log4cpp < Formula
|
2010-02-13 18:11:29 +00:00
|
|
|
homepage 'http://log4cpp.sourceforge.net/'
|
2012-10-19 22:00:34 +00:00
|
|
|
url 'http://downloads.sourceforge.net/project/log4cpp/log4cpp-1.0.x%20%28old%29/log4cpp-1.0/log4cpp-1.0.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'bdb2fa7a8c8af738d79156bf9f6191875cdba5cc'
|
2010-02-13 18:11:29 +00:00
|
|
|
|
2012-10-19 22:00:34 +00:00
|
|
|
devel do
|
|
|
|
url 'http://downloads.sourceforge.net/project/log4cpp/log4cpp-1.1.x%20%28new%29/log4cpp-1.1/log4cpp-1.1rc3.tar.gz'
|
|
|
|
sha1 '24dc2eda5b1cee7af58a42924f61cd44c88f066a'
|
|
|
|
end
|
|
|
|
|
2010-02-13 18:11:29 +00:00
|
|
|
def install
|
2012-10-19 22:00:34 +00:00
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2010-02-13 18:11:29 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|