edfb67d937
To make it easier to copy and paste multiline scripts from caveats, no longer use $ as a prompt marker.
19 lines
349 B
Ruby
19 lines
349 B
Ruby
require 'formula'
|
|
|
|
class Cpansearch < Formula
|
|
head 'https://github.com/c9s/cpansearch.git', :using => :git
|
|
homepage 'https://github.com/c9s/cpansearch'
|
|
|
|
depends_on 'glib'
|
|
|
|
def install
|
|
system "make"
|
|
bin.install "cpans"
|
|
end
|
|
|
|
def caveats; <<-EOS.undent
|
|
For usage instructions:
|
|
more #{prefix}/README.md
|
|
EOS
|
|
end
|
|
end
|