require 'formula' class Cpansearch :git homepage 'https://github.com/c9s/cpansearch' depends_on 'glib' def install system "make" bin.install "cpans" end def caveats; <<-EOS.undent For usage instructions: $ more #{prefix}/README.md EOS end end