2014-01-28 19:08:20 +00:00
|
|
|
class Kanif < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Cluster management and administration tool"
|
2014-01-28 19:08:20 +00:00
|
|
|
homepage "http://taktuk.gforge.inria.fr/kanif/"
|
|
|
|
url "http://gforge.inria.fr/frs/download.php/26773/kanif-1.2.2.tar.gz"
|
|
|
|
sha1 "7a10fe0e74159875f004b6c4a12a0202ff092ce9"
|
|
|
|
|
2015-03-01 07:05:28 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "62cfcf372822b0b17e74e4eddafb775a3cd0b43f" => :yosemite
|
|
|
|
sha1 "4f75cca495144043a4106ca4f51367cc2a01fa3d" => :mavericks
|
|
|
|
sha1 "8ae0a32afdad9dd6b4fa83af7a9587c760b41b5e" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2015-02-28 22:09:11 +00:00
|
|
|
depends_on "taktuk" => :run
|
2014-01-28 19:08:20 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
|
|
|
"--disable-silent-rules",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make", "install"
|
|
|
|
end
|
2015-02-28 22:09:11 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match "taktuk -s -c 'ssh' -l brew",
|
|
|
|
shell_output("#{bin}/kash -q -l brew -r ssh")
|
|
|
|
end
|
2014-01-28 19:08:20 +00:00
|
|
|
end
|