mirror of
https://gitlab.com/octospacc/MultiSpaccSDK
synced 2025-06-05 22:09:21 +02:00
Update build system, small code updates/tests
This commit is contained in:
@ -1,25 +1,25 @@
|
||||
#!/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
|
||||
#!/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
|
||||
|
Reference in New Issue
Block a user