Skip to content

Commit

Permalink
added Perl 6 (Niecza)
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisMitchell committed Sep 29, 2019
1 parent 007b374 commit aa8ad3e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions languages/perl6-niecza
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/usr/bin/env bash

err=0
trap 'err=1' ERR

dir=/opt/perl6-niecza
rm -rf $dir
git clone https://github.com/sorear/niecza $dir
cd $dir
curl --silent --show-error https://download.mono-project.com/sources/mono/mono-5.20.1.34.tar.bz2 \
| tar x --bzip2
cd mono-*
./configure --prefix=$dir/mono
make
make install
cd ..
rm -r mono-*
ln -s mcs mono/bin/gmcs
find mono -exec strip -s {} +
PATH="$dir/mono/bin:$PATH" make

exit "$err"

0 comments on commit aa8ad3e

Please sign in to comment.