aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/spin.rb
blob: 6e3d785df77a43317b591fcdf867ca85e2088f00 (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
25
26
27
28
29
30
31
require "formula"

class Spin < Formula
  homepage "http://spinroot.com/spin/whatispin.html"
  url "http://spinroot.com/spin/Src/spin640.tar.gz"
  version "6.4.0"
  sha1 "d777255a09970ffdb25b62098c0cf22df4bfeab4"

  bottle do
    cellar :any
    sha1 "388caba593c8f6224513d16b7a307358e5745ec8" => :mavericks
    sha1 "7979b9dc5722eaeebb8e2e98e4a4d0495bedc775" => :mountain_lion
    sha1 "bd24c1f818b6460e90dada5adc75aa58ef0d5c4c" => :lion
  end

  fails_with :llvm do
    build 2334
  end

  def install
    ENV.deparallelize

    cd "Src#{version}" do
      system "make"
      bin.install "spin"
    end

    bin.install "iSpin/ispin.tcl" => "ispin"
    man1.install "Man/spin.1"
  end
end