homebrew-core/Formula/xclip.rb

18 lines
375 B
Ruby
Raw Normal View History

require 'formula'
class Xclip < Formula
homepage 'http://xclip.sourceforge.net/'
url 'http://downloads.sourceforge.net/project/xclip/xclip/0.12/xclip-0.12.tar.gz'
md5 'f7e19d3e976fecdc1ea36cd39e39900d'
def install
ENV.x11
system "./configure", "--prefix=#{prefix}"
system "make install"
end
def test
system "#{bin}/xclip", "-version"
end
end