Remove client_name libao option, it might cause problems
[deb_shairplay.git] / README.md
index 70fcde97943611012e24fc563d89098b12ea754d..34f5cbee6d85850980564a8aa498237ddf37dc7b 100644 (file)
--- a/README.md
+++ b/README.md
@@ -14,7 +14,15 @@ all local laws are adhered to.
 Installation
 ------------
 
+First you need to install some dependencies, for example on Ubuntu you would
+write:
 ```
+sudo apt-get install autoconf automake libtool
+sudo apt-get install libao-dev libavahi-compat-libdnssd-dev
+```
+
+```
+./autogen.sh
 ./configure
 make
 sudo make install
@@ -26,9 +34,23 @@ otherwise only the library is compiled and installed.
 Usage
 -----
 
-Check available options with ```shairplay --help``` and start server with
-```shairplay```, if you are connected to a Wi-Fi the server should show as an
-AirPort Express on your iOS devices and Mac OS X computers in the same network.
+Check available options with ```shairplay --help```:
+
+```
+Usage: shairplay [OPTION...]
+
+  -a, --apname=AirPort            Sets Airport name
+  -p, --password=secret           Sets password
+  -o, --server_port=5000          Sets port for RAOP service
+      --ao_driver=driver          Sets the ao driver (optional)
+      --ao_devicename=devicename  Sets the ao device name (optional)
+      --ao_deviceid=id            Sets the ao device id (optional)
+  -h, --help                      This help
+```
+
+Start the server with ```shairplay```, if you are connected to a Wi-Fi the
+server should show as an AirPort Express on your iOS devices and Mac OS X
+computers in the same network.
 
 Related software
 ----------------