aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSimon Sigurdhsson2012-06-29 21:47:38 +0200
committerMax Howell2012-09-03 09:47:03 -0400
commita9a669a1e7d1d9bac5f536b0835dfe9c8db92896 (patch)
tree7d137a803e2c348b4ea9719ad71925ef815bd535 /Library
parent8507f651daa91b9c21e3866d2d2adc7659452ff5 (diff)
downloadhomebrew-a9a669a1e7d1d9bac5f536b0835dfe9c8db92896.tar.bz2
+log4c-1.2.1
A logging library for C based on log4j. Closes #13105. Signed-off-by: Max Howell <mxcl@me.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/log4c.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/log4c.rb b/Library/Formula/log4c.rb
new file mode 100644
index 000000000..e51b98e24
--- /dev/null
+++ b/Library/Formula/log4c.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Log4c < Formula
+ homepage 'http://log4c.sourceforge.net/'
+ url 'http://sourceforge.net/projects/log4c/files/log4c/1.2.1/log4c-1.2.1.tar.gz'
+ sha1 'b380947047cd6f71bdec1afe57d7b285fb2a3f38'
+
+ 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