homebrew-core/Formula/tmate.rb

39 lines
1.1 KiB
Ruby
Raw Normal View History

class Tmate < Formula
desc "Instant terminal sharing"
2016-04-18 09:35:08 +00:00
homepage "https://tmate.io/"
url "https://github.com/tmate-io/tmate/archive/2.2.1.tar.gz"
sha256 "d9c2ac59f42e65aac5f500f0548ea8056fd79c9c5285e5af324d833e2a84c305"
revision 2
head "https://github.com/tmate-io/tmate.git"
2016-02-19 05:30:26 +00:00
bottle do
cellar :any
2016-06-25 11:08:53 +00:00
sha256 "cf21009a5a1d3d41e111d607d157510934d1c6db5fa1c72698af98a2d38ca5aa" => :el_capitan
sha256 "f3f6a40c9393292a94862cd4f36f9a27e4d3c4077699b5196d417cc3d97a7daf" => :yosemite
sha256 "2aa8a5a8934bbe0cc9271937500e26b97bedb7659a50560152bbd5f060b704ad" => :mavericks
2016-02-19 05:30:26 +00:00
end
depends_on "pkg-config" => :build
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "libevent"
depends_on "libssh"
depends_on "msgpack"
def install
system "sh", "autogen.sh"
ENV.append "LDFLAGS", "-lresolv"
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--sysconfdir=#{etc}"
system "make", "install"
end
test do
system "#{bin}/tmate", "-V"
end
end