homebrew-core/Formula/rakudo-star.rb
John Harrison d3a0e6fd2b Rakudo Star 2012.01
Rakudo Star comes with its own version of Parrot that is designed to match the
target release of rakudo, so I am removing the Parrot dependency and having it
build against packages version of Parrot.

Also, having it install all of the tools, this includes parrot, nqp, and all
of the modules that come with Rakudo Star instead of just installing the perl6
executable.

Also added caveat about installing parrot and rakudo side by side.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-03-21 06:44:08 -07:00

24 lines
707 B
Ruby

require 'formula'
class RakudoStar < Formula
homepage 'http://rakudo.org/'
url 'https://github.com/downloads/rakudo/star/rakudo-star-2012.01.tar.gz'
sha256 '2bfa055c6d3b6060917fb45561d1346fef518912aaf69af361f54dd3f9ec903c'
depends_on 'gmp' => :optional
depends_on 'icu4c' => :optional
depends_on 'pcre' => :optional
def install
system "perl Configure.pl --prefix=#{prefix} --gen-parrot"
system "make"
system "make install"
end
def caveats; <<-EOS
Raukdo Star comes with its own specific version of Parrot. Installing the
Parrot formula along side the Rakudo Star formula will override a number
of the binaries (eg. parrot, nqp, winxed, etc.).
EOS
end
end