aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/xclip.rb17
1 files changed, 17 insertions, 0 deletions
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