mirror of
https://gitlab.com/octospacc/MultiSpaccSDK
synced 2025-05-22 06:14:17 +02:00
26 lines
713 B
Bash
26 lines
713 B
Bash
#!/bin/sh
|
|
|
|
[ "$(whoami)" != root ] && {
|
|
echo "This script must run as root".
|
|
exit -1
|
|
}
|
|
|
|
mkdir -p /tmp /opt/Sdk
|
|
|
|
apt update
|
|
apt install -y \
|
|
make wine curl wget p7zip-full python3 python3-pil \
|
|
gcc mingw-w64 cc65 emscripten \
|
|
libsdl1.2-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev \
|
|
libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-mixer-dev \
|
|
;
|
|
|
|
curl -o /tmp/mingw32.7z https://hlb0.octt.eu.org/Drive/Misc/mingw32-9.2.0.7z.sfx.exe
|
|
7z x /tmp/mingw32.7z
|
|
cp ./mingw32/bin/*.dll ./mingw32/libexec/gcc/mingw32/9.2.0/
|
|
mv ./mingw32 /opt/Sdk/mingw32
|
|
|
|
curl -o /tmp/dkp.sh https://apt.devkitpro.org/install-devkitpro-pacman
|
|
yes | bash /tmp/dkp.sh
|
|
dkp-pacman -Sy nds-dev
|