pkg(mono-6.12.0): change to new build system

This commit is contained in:
Thomas Hobson 2021-03-06 01:06:00 +13:00
parent 66fd00e410
commit 51666c2d5a
No known key found for this signature in database
GPG key ID: 9F1FD9D87950DB6F
7 changed files with 32 additions and 34 deletions

16
packages/mono-6.12.0/build.sh vendored Executable file
View file

@ -0,0 +1,16 @@
#!/bin/bash
mkdir -p build/tmp 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 /piston/packages/mono/6.12.0/mono-6.12.0
make
DESTDIR=build/tmp make install
mv build/tmp/piston/packages/mono/6.12.0/mono-6.12.0 ../../output