2010-08-09 21:42:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class RakudoStar < Formula
|
2010-08-09 21:42:55 +00:00
|
|
|
homepage 'http://rakudo.org/'
|
2012-02-01 17:21:23 +00:00
|
|
|
url 'https://github.com/downloads/rakudo/star/rakudo-star-2012.01.tar.gz'
|
|
|
|
sha256 '2bfa055c6d3b6060917fb45561d1346fef518912aaf69af361f54dd3f9ec903c'
|
2010-08-09 21:42:55 +00:00
|
|
|
|
2012-02-01 17:21:23 +00:00
|
|
|
depends_on 'gmp' => :optional
|
|
|
|
depends_on 'icu4c' => :optional
|
|
|
|
depends_on 'pcre' => :optional
|
2010-08-09 21:42:55 +00:00
|
|
|
|
|
|
|
def install
|
2012-05-15 18:31:21 +00:00
|
|
|
system "perl", "Configure.pl", "--prefix=#{prefix}", "--gen-parrot"
|
2010-08-09 21:42:55 +00:00
|
|
|
system "make"
|
|
|
|
system "make install"
|
2012-02-01 17:21:23 +00:00
|
|
|
end
|
2010-08-09 21:42:55 +00:00
|
|
|
|
2012-02-01 17:21:23 +00:00
|
|
|
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
|
2010-08-09 21:42:55 +00:00
|
|
|
end
|
|
|
|
end
|