mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 11:59:43 -05:00
Upgrade cfengine to version 3.3.1. Tested on Lion with XCode-4.3.2 using clang and llvm-gcc, where it passes its def test. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
22 lines
551 B
Ruby
22 lines
551 B
Ruby
require 'formula'
|
|
|
|
class Cfengine < Formula
|
|
homepage 'http://cfengine.com/'
|
|
url 'https://cfengine.com/source-code/download?file=cfengine-3.3.1.tar.gz'
|
|
sha1 '254b1a5db2d4b01daf49455c9c9a5dac5b3f2fdb'
|
|
|
|
depends_on 'tokyo-cabinet'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-workdir=#{var}/cfengine",
|
|
"--with-tokyocabinet"
|
|
system "make install"
|
|
end
|
|
|
|
def test
|
|
system "#{bin}/cf-agent -V"
|
|
end
|
|
end
|