From b99523999d22fd00a0739624f1eb7614fc6781ce Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Wed, 11 Apr 2012 21:47:28 -0700 Subject: xclip 0.12 Closes #11597. Signed-off-by: Adam Vandenberg --- Library/Formula/xclip.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Library/Formula/xclip.rb (limited to 'Library') diff --git a/Library/Formula/xclip.rb b/Library/Formula/xclip.rb new file mode 100644 index 000000000..a94baa606 --- /dev/null +++ b/Library/Formula/xclip.rb @@ -0,0 +1,17 @@ +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 -- cgit v1.2.3