homebrew-core/Formula/vramsteg.rb

28 lines
1.0 KiB
Ruby

class Vramsteg < Formula
desc "Add progress bars to command-line applications"
homepage "https://tasktools.org/projects/vramsteg.html"
url "https://tasktools.org/download/vramsteg-1.1.0.tar.gz"
sha256 "9cc82eb195e4673d9ee6151373746bd22513033e96411ffc1d250920801f7037"
head "https://git.tasktools.org/scm/ut/vramsteg.git", :branch => "1.1.1"
bottle do
cellar :any_skip_relocation
sha256 "7f65668b7bb036fb19e69bdc9cbc2ec48728bc8c1936253f6d5e8d74a113a3fd" => :sierra
sha256 "e4b3e2e66c2f772a38de529b884091a2ffa1f920af6604696129d21cc9e70b99" => :el_capitan
sha256 "9285766e0502b88c62d3d295402a41c46b8d9d2707a492bb5d70484b1080c212" => :yosemite
sha256 "f9ea5a2984d676db153d2128b1aa84a413edb93692e9c6be8147e5a856d42972" => :mavericks
end
depends_on "cmake" => :build
def install
system "cmake", ".", *std_cmake_args
system "make", "install"
end
test do
# Check to see if vramsteg can obtain the current time as epoch
assert_match /^\d+$/, shell_output("#{bin}/vramsteg --now")
end
end