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'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'aed2cff18b9aecfe3377ad064c6a67518bbec211'
|
2012-04-12 04:47:28 +00:00
|
|
|
|
2012-06-07 01:35:12 +00:00
|
|
|
depends_on :x11
|
|
|
|
|
2012-04-12 04:47:28 +00:00
|
|
|
def install
|
|
|
|
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
|