homebrew-core/Formula/cpansearch.rb
Andrew Janke 3ad9a0896f Change github /tarball/ URLs to /archive/ for formulae A-K
The `brew audit` check complains about the older /tarball/ URL scheme. Update
formulae to use the new /archive/ URL and update the SHA to match.

Closes Homebrew/homebrew#18813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-03-28 21:02:11 -07:00

23 lines
487 B
Ruby

require 'formula'
class Cpansearch < Formula
homepage 'https://github.com/c9s/cpansearch'
url 'https://github.com/c9s/cpansearch/archive/0.1.1.tar.gz'
sha1 '8ffab37023886f3c1e287de574001ff720c8b1e5'
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