Skip to content
matto1990 edited this page Dec 7, 2014 · 3 revisions

How to setup (Debian Wheezy)

Since we are going to compile, we need build-essential package:

apt-get install build-essential

Then we need shairport dependencies:

apt-get install libssl-dev libavahi-client-dev libasound2-dev libao-dev libpulse-dev

Now we need to get shairport source so, we change to /usr/local/src/ directory

cd /usr/local/src/

and get shairport

wget https://codeload.github.com/abrasive/shairport/zip/master

unzip it

unzip master

and clean up

mv master shairport-master.zip

Let's go to compile it:

cd shairport-master/
./configure
make
make install

Now we are going to set it up to run it at boot:

cd scripts/debian/
cp default/shairport /etc/default/
cp init.d/shairport /etc/init.d/
cp logrotate.d/shairport /etc/logrotate.d/
useradd -g audio shairport
update-rc.d shairport defaults

YMMV. Enjoy!

Clone this wiki locally