23 lines
533 B
Ruby
23 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
|