homebrew-core/Formula/xclip.rb

28 lines
887 B
Ruby

class Xclip < Formula
desc "Command-line utility that is designed to run on any system with an X11"
homepage "https://github.com/astrand/xclip"
url "https://github.com/astrand/xclip/archive/0.13.tar.gz"
sha256 "ca5b8804e3c910a66423a882d79bf3c9450b875ac8528791fb60ec9de667f758"
bottle do
cellar :any_skip_relocation
sha256 "0963015158b7d4ae2981503edc18427737a0586b7155da5cd2ddaa93fb3b92bd" => :high_sierra
sha256 "bb26c2bb6d7ce8f15ab50144f38d11ddde113bb400326ccea990ca9a5d0a9c69" => :sierra
sha256 "9e17790e9a94ae1e29317f013a65f2d639ae9063db48ed7fa0aed7449f221abb" => :el_capitan
end
depends_on "autoconf" => :build
depends_on "automake" => :build
depends_on :x11
def install
system "autoreconf", "-fiv"
system "./configure", "--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{bin}/xclip", "-version"
end
end