2010-08-09 21:42:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class RakudoStar <Formula
|
2010-09-01 14:44:32 +00:00
|
|
|
url 'http://cloud.github.com/downloads/rakudo/star/rakudo-star-2010.08.tar.gz'
|
2010-08-09 21:42:55 +00:00
|
|
|
homepage 'http://rakudo.org/'
|
2010-09-01 14:44:32 +00:00
|
|
|
md5 'abdadbc3016498c3bd8a89b53f63ae35'
|
2010-08-09 21:42:55 +00:00
|
|
|
|
|
|
|
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
|