homebrew-core/Formula/cpanminus.rb
2015-10-23 17:16:35 +08:00

17 lines
457 B
Ruby

class Cpanminus < Formula
desc "Get, unpack, build, and install modules from CPAN"
homepage "https://github.com/miyagawa/cpanminus"
url "https://github.com/miyagawa/cpanminus/archive/1.7039.tar.gz"
sha256 "b3326c363a1b100008596e21cd3be182f712f1a2b9cb5d608e463ac3111dcc9c"
head "https://github.com/miyagawa/cpanminus.git"
bottle :unneeded
def install
bin.install "cpanm"
end
test do
system "#{bin}/cpanm", "Test::More"
end
end