This avoids infecting SIMH with the GPL license, since readline, very surprisingly, is GPL rather than LGPL. The replacement package is "editline", which has a useable license.
18 lines
397 B
Bash
Executable file
18 lines
397 B
Bash
Executable file
#!/bin/sh
|
|
|
|
install_osx() {
|
|
brew update
|
|
brew install sdl2
|
|
brew install sdl2_ttf
|
|
brew install vde
|
|
}
|
|
|
|
install_linux() {
|
|
sudo apt-get update -yqqm
|
|
sudo apt-get install -ym libegl1-mesa-dev libgles2-mesa-dev
|
|
sudo apt-get install -ym libsdl2-dev libpcap-dev libvdeplug-dev
|
|
sudo apt-get install -ym libsdl2-ttf-dev
|
|
sudo apt-get install -ym libedit-dev
|
|
}
|
|
|
|
install_"$1"
|