2010-10-21 03:53:21 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cpansearch < Formula
|
2010-11-10 18:16:28 +00:00
|
|
|
head 'https://github.com/c9s/cpansearch.git', :using => :git
|
|
|
|
homepage 'https://github.com/c9s/cpansearch'
|
2010-10-21 03:53:21 +00:00
|
|
|
|
|
|
|
depends_on 'glib'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
bin.install "cpans"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
For usage instructions:
|
2011-04-04 23:56:47 +00:00
|
|
|
more #{prefix}/README.md
|
2010-10-21 03:53:21 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|