summaryrefslogtreecommitdiff
path: root/homebrew/rakudostar/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/rakudostar/.make.sh-auto')
-rw-r--r--homebrew/rakudostar/.make.sh-auto11
1 files changed, 11 insertions, 0 deletions
diff --git a/homebrew/rakudostar/.make.sh-auto b/homebrew/rakudostar/.make.sh-auto
new file mode 100644
index 000000000..490137902
--- /dev/null
+++ b/homebrew/rakudostar/.make.sh-auto
@@ -0,0 +1,11 @@
+pkg:setup
+libffi = Formula["libffi"]
+ENV.remove "CPPFLAGS", "-I#{libffi.include}"
+ENV.prepend "CPPFLAGS", "-I#{libffi.lib}/libffi-#{libffi.version}/include"
+ENV.deparallelize
+perl Configure.pl --prefix=${PKG_TAPF} --backends=moar --gen-moar
+make
+ENV["NO_NETWORK_TESTING"] = "1"
+make DESTDIR=${PKG_DEST} install
+bin.install_symlink Dir[share/"perl6/site/bin/*"]
+mv "#{prefix}/man", share if File.directory?("#{prefix}/man")