homebrew-core/Formula/cpanminus.rb

17 lines
430 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Cpanminus < Formula
desc "Get, unpack, build, and install modules from CPAN"
2014-05-20 05:47:54 +00:00
homepage "https://github.com/miyagawa/cpanminus"
url "https://github.com/miyagawa/cpanminus/archive/1.7031.tar.gz"
sha256 "7ff36a42aa46146cbe423f4dd4f2c0d8bd57c0e9968cf05651fac0f47ac82e98"
2012-06-04 01:57:46 +00:00
2014-05-20 05:47:54 +00:00
head "https://github.com/miyagawa/cpanminus.git"
def install
2014-05-20 05:47:54 +00:00
bin.install "cpanm"
end
test do
system "#{bin}/cpanm", "-V"
end
end