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>
master
Diego Zamboni 2011-09-02 01:05:41 -05:00 committed by Adam Vandenberg
parent 07b96430e4
commit 10f6670cdd
1 changed files with 19 additions and 0 deletions

19
Formula/cfengine.rb Normal file
View File

@ -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