2011-03-10 05:11:03 +00:00
|
|
|
class Cpanminus < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Get, unpack, build, and install modules from CPAN"
|
2014-05-20 05:47:54 +00:00
|
|
|
homepage "https://github.com/miyagawa/cpanminus"
|
2015-04-25 01:17:11 +00:00
|
|
|
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"
|
2010-08-22 18:07:06 +00:00
|
|
|
|
|
|
|
def install
|
2014-05-20 05:47:54 +00:00
|
|
|
bin.install "cpanm"
|
2010-08-22 18:07:06 +00:00
|
|
|
end
|
2014-12-15 23:14:40 +00:00
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/cpanm", "-V"
|
|
|
|
end
|
2010-08-22 18:07:06 +00:00
|
|
|
end
|