mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-30 19:50:24 +00:00
21 lines
656 B
Ruby
21 lines
656 B
Ruby
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
|