cfengine 3.3.0

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Nick Silkey 2012-04-13 11:43:36 -04:00 committed by Adam Vandenberg
parent 17c84caac0
commit 1389e028f6

View file

@ -1,19 +1,21 @@
require 'formula'
class Cfengine < Formula
url 'https://cfengine.com/source-code/download?file=cfengine-3.2.3.tar.gz'
homepage 'http://cfengine.com/'
md5 'be118dd95537221da38008845fc0d84a'
url 'https://cfengine.com/source-code/download?file=cfengine-3.3.0.tar.gz'
md5 'd40426fcc447e6f1581a6abd6116ea20'
depends_on 'tokyo-cabinet'
def install
system "./configure", "--with-tokyocabinet", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-workdir=#{var}/cfengine",
"--with-tokyocabinet"
system "/usr/bin/make install"
end
def test
system "#{sbin}/cf-agent -V"
system "#{bin}/cf-agent -V"
end
end