2015-09-13 20:42:04 +00:00
|
|
|
class Dshb < Formula
|
2016-10-02 05:53:52 +00:00
|
|
|
desc "macOS system monitor in Swift"
|
2015-09-13 20:42:04 +00:00
|
|
|
homepage "https://github.com/beltex/dshb"
|
|
|
|
url "https://github.com/beltex/dshb/releases/download/v0.1.0/dshb-0.1.0-source.zip"
|
|
|
|
sha256 "efed42a2be0dbc6de3b22b314b582b1d6517922b72e08e063f3d1d3810a782f9"
|
|
|
|
|
2016-01-26 02:11:05 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "491d5a425463fb4f328503f91cfe6e28a0785fdbf8ec7a323a366bab54e4158c" => :el_capitan
|
|
|
|
sha256 "94085328f6ef593ca0d00923fabfe43586c1c4b51eaf555ce9c7db9d7db1f486" => :yosemite
|
|
|
|
end
|
|
|
|
|
2016-09-24 15:45:48 +00:00
|
|
|
depends_on :xcode => ["7.0", :build]
|
2015-09-13 20:42:04 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "make", "release"
|
|
|
|
bin.install "bin/dshb"
|
|
|
|
man1.install "doc/dshb.1"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
pipe_output("#{bin}/dshb", "q", 0)
|
|
|
|
end
|
|
|
|
end
|