homebrew-core/Formula/cpansearch.rb

25 lines
526 B
Ruby
Raw Normal View History

2014-07-21 02:23:33 +00:00
require "formula"
2011-03-10 05:11:03 +00:00
class Cpansearch < Formula
desc "CPAN module search written in C"
2014-07-21 02:23:33 +00:00
homepage "https://github.com/c9s/cpansearch"
url "https://github.com/c9s/cpansearch/archive/0.2.tar.gz"
sha1 "302638f78f2b09630cabd3975c38d5fc591c43e7"
2012-04-19 02:37:43 +00:00
2014-07-21 02:23:33 +00:00
head "https://github.com/c9s/cpansearch.git"
2014-07-21 02:23:33 +00:00
depends_on "pkg-config" => :build
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
EOS
end
end