4cd0935be7
Closes Homebrew/homebrew#26942. Closes Homebrew/homebrew#26946. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
390 B
Ruby
18 lines
390 B
Ruby
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'
|
|
sha1 'aed2cff18b9aecfe3377ad064c6a67518bbec211'
|
|
|
|
depends_on :x11
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
|
|
test do
|
|
system "#{bin}/xclip", "-version"
|
|
end
|
|
end
|