aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cpanminus.rb
blob: 8cfe0552760af0dd4bce5161445a608d7354543a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
require "formula"

class Cpanminus < Formula
  homepage "https://github.com/miyagawa/cpanminus"
  url "https://github.com/miyagawa/cpanminus/archive/1.7022.tar.gz"
  sha1 "ce2e5321d676022b9e476bb8e5683ad60e13915c"

  head "https://github.com/miyagawa/cpanminus.git"

  bottle do
    cellar :any
    sha1 "52f75e63756ef4c858013fa3542ce138e899f904" => :yosemite
    sha1 "2457a4bcbee3e5ba9dd6fd5717477b6fffe5dde9" => :mavericks
    sha1 "8ee611a85ab2f397f810a4f92f9d5af987a3789f" => :mountain_lion
  end

  def install
    bin.install "cpanm"
  end

  test do
    system "#{bin}/cpanm", "-V"
  end
end