aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cpansearch.rb
blob: ce69e2e5df2668e6bbd2f29359415f37e61c8fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 'pkg-config' => :build
  depends_on 'glib'

  def install
    system "make"
    bin.install "cpans"
  end

  def caveats; <<-EOS.undent
    For usage instructions:
        more #{opt_prefix}/README.md
    EOS
  end
end