blob: 9597fed1523db130855e8970e70fa06f52a4bbb5 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 | 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
 |