aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/rakudo-star.rb
blob: 4022596e4ad1d3a9328732ae2da469d5d1b6601e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'formula'

class RakudoStar <Formula
  url 'https://github.com/downloads/rakudo/star/rakudo-star-2010.10.tar.gz'
  homepage 'http://rakudo.org/'
  md5 '02b426572fe2f42514940f485bcf1d91'

  depends_on 'parrot'

  def install
    parrot_bin = Formula.factory('parrot').bin

    system "perl Configure.pl --parrot-config=#{parrot_bin}/parrot_config"
    system "make"
    system "make install"

    bin.install "perl6"
  end
end