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

class Rock < Formula
  url 'https://github.com/downloads/nddrylliog/rock/rock-0.9.2-source.tar.bz2'
  homepage 'http://ooc-lang.org'
  md5 '8e3afbd3e31b977930692ee781e84529'
  head 'https://github.com/nddrylliog/rock.git'

  fails_with_llvm "Fails in function 'AO_test_and_set_full' with an 'unsupported inline asm' error"

  def install
      # make rock using provided bootstrap
      system "make"
      bin.install 'bin/rock'
      man1.install "docs/rock.1"

      # install misc authorship files & rock binary in place
      # copy the sdk, libs and docs
      prefix.install ['rock.use', 'README.md', "sdk", "libs", "docs"]
  end
end