Update build.md

This commit is contained in:
Johannes Pohl 2016-06-26 13:18:46 +02:00 committed by GitHub
parent 4ba7c7c834
commit 2fd074b88e

View file

@ -8,6 +8,10 @@ For Arch derivates:
$ pacman -S git
For FreeBSD:
$ sudo pkg install git
Clone Snapcast:
$ git clone https://github.com/badaix/snapcast.git
@ -71,6 +75,18 @@ Install Snapserver
This will copy the server binary to `/usr/sbin` and update init.d/systemd to start the server as a daemon.
##FreeBSD (Native)
Install the build tools and required libs:
$ sudo pkg install gmake gcc bash avahi libogg libvorbis flac
###Build Snapserver
`cd` into the Snapserver src-root directory:
$ cd <snapcast dir>/server
$ gmake TARGET=FREEBSD
##Android (Cross compile)
Cross compilation for Android is done with the [Android NDK](http://developer.android.com/tools/sdk/ndk/index.html) on a Linux host machine.