mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-24 05:56:26 +02:00
19 lines
324 B
Bash
Executable file
19 lines
324 B
Bash
Executable file
#!/bin/bash
|
|
|
|
PREFIX=$(realpath $(dirname $0))
|
|
|
|
mkdir -p build/mono
|
|
cd build
|
|
|
|
curl "https://download.mono-project.com/sources/mono/mono-6.12.0.122.tar.xz" -o mono.tar.xz
|
|
tar xf mono.tar.xz --strip-components=1 -C mono
|
|
|
|
cd mono
|
|
|
|
./configure --prefix "$PREFIX"
|
|
|
|
make -j$(nproc)
|
|
make install -j$(nproc)
|
|
|
|
cd ../../
|
|
rm -rf build
|