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"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "3f0c549428dfe88457c1db293cfac2a22b203f872904c3abf372651ac12e5879"
|
2014-01-28 19:08:20 +00:00
|
|
|
|
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
|