26 lines
1 KiB
Ruby
26 lines
1 KiB
Ruby
class Vttest < Formula
|
|
desc "Test compatibility of VT100-compatible terminals"
|
|
homepage "https://invisible-island.net/vttest/"
|
|
url "ftp://ftp.invisible-island.net/vttest/vttest-20140305.tgz"
|
|
mirror "http://invisible-mirror.net/archives/vttest/vttest-20140305.tgz"
|
|
sha256 "0168aa34061d4470a68b0dd0781a2a9e2bbfb1493e540c99f615b867a11cbf83"
|
|
|
|
bottle do
|
|
cellar :any_skip_relocation
|
|
sha256 "360d6eaa04e1a147eee360fed7d66ab779acc0a0ab3b51b1916cdf4d4a7f11f1" => :sierra
|
|
sha256 "e758b4d59d1322b736f247c9ebbabe3c73ad06b324120997c6af784b8a3ab3f7" => :el_capitan
|
|
sha256 "2584fb77678acad877286416b79db38673320ec028e6a6add37b987b150af648" => :yosemite
|
|
sha256 "e2faf045a9a09d49e64f104bf65ca7a8fabf4552a50621bd22206e80ef579844" => :mavericks
|
|
sha256 "acb979d3b90f828d2b504b9f0872ad4eb3c421d30872ad291df91123038433d4" => :mountain_lion
|
|
end
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--mandir=#{man}"
|
|
system "make"
|
|
system "make", "install"
|
|
end
|
|
|
|
test do
|
|
assert File.exist? bin/"vttest"
|
|
end
|
|
end
|