aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDiego Zamboni2011-09-02 01:05:41 -0500
committerAdam Vandenberg2011-09-02 10:01:41 -0700
commit08ca563522d0eb4113508e1899f968cdff77ff71 (patch)
tree05a0e74b0892ceb486f43ab7588e41187b2adbe9 /Library/Formula
parentbf539dfeed07eadcb5334409a5479fa997b233c0 (diff)
downloadhomebrew-08ca563522d0eb4113508e1899f968cdff77ff71.tar.bz2
cfengine 3.2.0
Cfengine is a configuration-management and automation tool. This formula uses tokyo-cabinet because cfengine does not compile cleanly with the Mac OSX-included Berkeley DB. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cfengine.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/Library/Formula/cfengine.rb b/Library/Formula/cfengine.rb
new file mode 100644
index 000000000..f2109640a
--- /dev/null
+++ b/Library/Formula/cfengine.rb
@@ -0,0 +1,19 @@
+require 'formula'
+
+class Cfengine < Formula
+ url 'https://cfengine.com/source_code/download?file=cfengine-3.2.0.tar.gz'
+ homepage 'http://cfengine.com/'
+ md5 '5fdd5a0bf6c5111114ee8fb2259483ae'
+
+ depends_on 'tokyo-cabinet'
+
+ def install
+ system "./configure", "--with-tokyocabinet", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "/usr/bin/make install"
+ end
+
+ def test
+ system "#{sbin}/cf-agent -V"
+ end
+end