diff --git a/doc/build.md b/doc/build.md index bb2b0db8..cc7ae224 100644 --- a/doc/build.md +++ b/doc/build.md @@ -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 /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.