class Vttest < Formula desc "Test compatibility of VT100-compatible terminals" homepage "http://invisible-island.net/vttest/" url "ftp://invisible-island.net/vttest/vttest-20140305.tgz" mirror "http://invisible-mirror.net/archives/vttest/vttest-20140305.tgz" sha256 "0168aa34061d4470a68b0dd0781a2a9e2bbfb1493e540c99f615b867a11cbf83" bottle do cellar :any 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