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
|
|
|
homepage 'https://github.com/c9s/cpansearch'
|
2012-03-09 03:58:48 +00:00
|
|
|
url 'https://github.com/c9s/cpansearch/tarball/0.1'
|
|
|
|
md5 '470acb92617d77d7c9809effa3edde6d'
|
|
|
|
head 'https://github.com/c9s/cpansearch.git', :using => :git
|
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
|