25 lines
792 B
Ruby
25 lines
792 B
Ruby
class TmuxMemCpuLoad < Formula
|
|
homepage "https://github.com/thewtex/tmux-mem-cpu-load"
|
|
url "https://github.com/thewtex/tmux-mem-cpu-load/archive/v3.2.2.tar.gz"
|
|
sha256 "cf595916ccf92ece9d3bc50c71d6963f83515605ad7639407e7f893203ae5022"
|
|
|
|
head "https://github.com/thewtex/tmux-mem-cpu-load.git"
|
|
|
|
bottle do
|
|
cellar :any
|
|
sha256 "e7d13527fa1cf3f4abea9ca4e252815fdbaa5d0e6d09f6101e7ceb5ea94f2f64" => :yosemite
|
|
sha256 "084d150d3a3e8a50714c08d19798925dc63459489731a746e4bb139a131b395b" => :mavericks
|
|
sha256 "669587ff93da23c1c9d1f3f162e9d497602672f547ef2ce3c839acb6eae65b8c" => :mountain_lion
|
|
end
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
def install
|
|
system "cmake", ".", *std_cmake_args
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
system bin/"tmux-mem-cpu-load"
|
|
end
|
|
end
|