blob: ec7a1fd1908dcf6387761000a4fa99b9692a7023 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class Cpansearch < Formula
homepage 'https://github.com/c9s/cpansearch'
url 'https://github.com/c9s/cpansearch/tarball/0.1'
md5 '470acb92617d77d7c9809effa3edde6d'
head 'https://github.com/c9s/cpansearch.git', :using => :git
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
|