homebrew-core/Formula/cpansearch.rb

20 lines
346 B
Ruby

require 'formula'
class Cpansearch <Formula
head 'http://github.com/c9s/cpansearch.git', :using => :git
homepage 'http://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