homebrew-core/Formula/cpansearch.rb
BrewTestBot 95884bae22 Formula files style updates.
Closes Homebrew/homebrew#42407.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03 14:21:42 +01:00

22 lines
533 B
Ruby

class Cpansearch < Formula
desc "CPAN module search written in C"
homepage "https://github.com/c9s/cpansearch"
url "https://github.com/c9s/cpansearch/archive/0.2.tar.gz"
sha256 "09e631f361766fcacd608a0f5b3effe7b66b3a9e0970a458d418d58b8f3f2a74"
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