Update README
[deb_shairplay.git] / README.md
index 70fcde97943611012e24fc563d89098b12ea754d..6b7b617871cdab08b43420973a6bb35127fdb6ac 100644 (file)
--- a/README.md
+++ b/README.md
@@ -14,7 +14,16 @@ 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 libltdl-dev libao-dev libavahi-compat-libdnssd-dev
+sudo apt-get install avahi-daemon
+```
+
+```
+./autogen.sh
 ./configure
 make
 sudo make install
@@ -26,9 +35,27 @@ 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.
+
+Notice that you need to have the airport.key file in your working directory when
+starting the shairplay service. It is not included in the binary for possible
+legal reasons.
 
 Related software
 ----------------