2011-03-10 05:11:03 +00:00
|
|
|
class Cpansearch < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
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"
|
2015-08-03 12:55:31 +00:00
|
|
|
sha256 "09e631f361766fcacd608a0f5b3effe7b66b3a9e0970a458d418d58b8f3f2a74"
|
2012-04-19 02:37:43 +00:00
|
|
|
|
2014-07-21 02:23:33 +00:00
|
|
|
head "https://github.com/c9s/cpansearch.git"
|
2010-10-21 03:53:21 +00:00
|
|
|
|
2014-07-21 02:23:33 +00:00
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
depends_on "glib"
|
2010-10-21 03:53:21 +00:00
|
|
|
|
|
|
|
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
|
2010-10-21 03:53:21 +00:00
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|