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-04-27 11:02:27 +00:00
|
|
|
url 'https://github.com/c9s/cpansearch/tarball/0.1.1'
|
|
|
|
sha1 '8bfb303cf10b0cfcd09f42b4cb3c3911f37a47ee'
|
2012-04-19 02:37:43 +00:00
|
|
|
|
|
|
|
head 'https://github.com/c9s/cpansearch.git'
|
2010-10-21 03:53:21 +00:00
|
|
|
|
2013-02-10 06:28:09 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
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:
|
2012-11-25 19:42:57 +00:00
|
|
|
more #{opt_prefix}/README.md
|
2010-10-21 03:53:21 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|