30 lines
831 B
Ruby
30 lines
831 B
Ruby
class Wsmancli < Formula
|
|
homepage "https://github.com/Openwsman/wsmancli"
|
|
url "https://github.com/Openwsman/wsmancli/archive/v2.3.1.tar.gz"
|
|
sha1 "a9b3dbe14d257687da4ace7c142e829c05c80994"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha1 "d6e54b66cf4e0f18f69805cb762015739954c56c" => :yosemite
|
|
sha1 "e8c5852a0e3fe97db973b90c676c779177b2d0ca" => :mavericks
|
|
sha1 "cafa52a3f52158c65f36f05f550f525c2ddcfa12" => :mountain_lion
|
|
end
|
|
|
|
depends_on "openwsman"
|
|
depends_on "autoconf" => :build
|
|
depends_on "automake" => :build
|
|
depends_on "libtool" => :build
|
|
depends_on "pkg-config" => :build
|
|
depends_on "openssl"
|
|
|
|
def install
|
|
system "./bootstrap"
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/wsman", "-q"
|
|
end
|
|
end
|