aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMarc Abramowitz2012-04-11 21:47:28 -0700
committerAdam Vandenberg2012-04-12 07:03:22 -0700
commitb99523999d22fd00a0739624f1eb7614fc6781ce (patch)
tree9aaa27333714fef2e147d3d515d9129f728ba9f3 /Library/Formula
parente5954c7cfc8bf74529eec9764e58d042e7bd0996 (diff)
downloadhomebrew-b99523999d22fd00a0739624f1eb7614fc6781ce.tar.bz2
xclip 0.12
Closes #11597. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
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