Skip to content

Instantly share code, notes, and snippets.

Created September 11, 2015 10:40

Revisions

  1. @invalid-email-address Anonymous created this gist Sep 11, 2015.
    16 changes: 16 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    $script = <<SCRIPT
    echo I am provisioning...
    apt-get install -yq git wget autoconf libtool libdaemon-dev libasound2-dev libpopt-dev libconfig-dev avahi-daemon libavahi-client-dev libssl-dev libsoxr-dev
    git clone https://github.com/mikebrady/shairport-sync.git
    cd shairport-sync
    autoreconf -i -f
    ./configure --with-alsa --with-avahi --with-ssl=openssl --with-metadata --with-soxr --with-systemv
    make
    sudo make install
    sudo update-rc.d shairport-sync defaults 90 10
    SCRIPT

    Vagrant.configure(2) do |config|
    config.vm.box = 'ubuntu/trusty64'
    config.vm.provision "shell", inline: $script
    end