Fanta VagrantFiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
835 B

  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. $scriptProvision = <<-SCRIPT
  4. sudo apt update -y
  5. sudo apt install -y git gcc g++ make cmake libgl1-mesa-dev libfreetype6-dev libmodplug-dev libopenal-dev libsdl2-dev libtheora-dev libvorbis-dev libmpg123-dev libluajit-5.1-dev xorg mate gdm3 autoconf libtool terminator
  6. git clone "https://github.com/love2d/love" /tmp/love
  7. cd /tmp/love
  8. sudo platform/unix/automagic
  9. ./configure
  10. sudo make
  11. sudo make install
  12. #dpkg-reconfigure keyboard-configuration
  13. SCRIPT
  14. Vagrant.configure("2") do |config|
  15. config.vm.box = "debian/buster64"
  16. config.vm.hostname = "love2d"
  17. config.vm.define "love2d"
  18. config.vm.network "public_network", ip: "192.168.1.94", hostname: true
  19. config.vm.network "forwarded_port", guest: 80, host: 8080
  20. config.vm.provision "shell", inline: $scriptProvision
  21. end