aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cpansearch.rb
blob: 6ac712a90b3b6c2232803039c19582cf6378ddf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class Cpansearch < Formula
  homepage 'https://github.com/c9s/cpansearch'
  url 'https://github.com/c9s/cpansearch/tarball/0.1.1'
  sha1 '8bfb303cf10b0cfcd09f42b4cb3c3911f37a47ee'

  head 'https://github.com/c9s/cpansearch.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