diff options
| author | Diego Zamboni | 2011-09-02 01:05:41 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-09-02 10:01:41 -0700 |
| commit | 08ca563522d0eb4113508e1899f968cdff77ff71 (patch) | |
| tree | 05a0e74b0892ceb486f43ab7588e41187b2adbe9 /Library | |
| parent | bf539dfeed07eadcb5334409a5479fa997b233c0 (diff) | |
| download | homebrew-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')
| -rw-r--r-- | Library/Formula/cfengine.rb | 19 |
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 |
