RetroArch/Vagrantfile

21 lines
656 B
Ruby
Raw Normal View History

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision :shell, :inline => $BOOTSTRAP_SCRIPT # see below
end
$BOOTSTRAP_SCRIPT = <<EOF
set -e # Stop on any error
export DEBIAN_FRONTEND=noninteractive
echo VAGRANT SETUP: DOING APT-GET STUFF...
# Install prereqs
sudo apt-get update
sudo apt-get install -y make git-core curl g++ pkg-config libglu1-mesa-dev freeglut3-dev mesa-common-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev
# Make vagrant automatically go to /vagrant when we ssh in.
echo "cd /vagrant" | sudo tee -a ~vagrant/.profile
echo VAGRANT IS READY.
EOF