kerl erlang/zx/gajudesk script

This needed a 64-bit debian system to build, so I guess I'll just test
64 bit systems from now on.
This commit is contained in:
Jarvis Carroll 2025-05-30 10:23:16 +10:00
parent 4852dc3244
commit 91d85c8ecc
2 changed files with 21 additions and 1 deletions

View File

@ -14,7 +14,7 @@ then
else
echo "No debian environment found at $FRESH, downloading with debootstrap."
mkdir -p $FRESH
./get_debootstrap --arch i386 sid "$FRESH" http://deb.debian.org/debian/
./get_debootstrap --arch amd64 sid "$FRESH" http://deb.debian.org/debian/
fi
if test -e "$ROOT"

20
debian/install_scripts/install_wallet_src vendored Executable file
View File

@ -0,0 +1,20 @@
#!/bin/sh
sudo apt update
sudo apt upgrade
sudo apt -y install \
gcc curl g++ dpkg-dev build-essential automake autoconf \
libncurses-dev libssl-dev flex xsltproc libwxgtk3.2-dev \
wget vim git
mkdir -p ~/vcs ~/bin
cd ~/vcs
curl -O https://raw.githubusercontent.com/kerl/kerl/master/kerl
chmod a+x kerl
./kerl build 27.3.4 27.3.4
./kerl install 27.3.4 ~/.erts/27.3.4
echo '. "$HOME"/.erts/27.3.2/activate' >> .bashrc
. ~/.erts/27.3.4/activate
wget -q https://zxq9.com/projects/zomp/get_zx && bash get_zx
export PATH=$PATH:$HOME/bin
zx run gajudesk