2012-04-12 04:47:28 +00:00
|
|
|
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
|
2012-05-15 21:36:45 +00:00
|
|
|
system "#{bin}/xclip", "-version"
|
2012-04-12 04:47:28 +00:00
|
|
|
end
|
|
|
|
end
|