Thanks to the previous posters I've been able to create a script which builds and installs forked-daapd (and its requirements) on Ubuntu Lucid and Maverick. The script also creates logrotate.d and init.d scripts.
Currently I've only tested forked-daap on 64-bit Lucid and listened to music with Banshee, but the script should also work on 32-bit as well.
NOTE! forked-daapd requires SQLite3 with update notify API enabled which is not available in the Lucid repos. Therefore my script grabs SQLite 22.214.171.124-4 from the Maverick builds in order to satisfy this requirement. I've no idea what the knock on effect might be so don't blame me if my script eats all your chocolates I've built forked-daapd in a virtual guest to ensure I don't break anything important on my production machines. Naturally, when running this script on Maverick it doesn't do the funky SQLite3 stuff.
You can get my scripts from my bzr repository. There are other scripts in there, most are incomplete or experimental.
The script needs to be executed via 'sudo'.
bzr branch lp:~flexiondotorg/+junk/ServerScripts
The output from the script looks like this.
If you want to see what the script is doing while it is running just execute the following in another shell.
Installing daapd server
[x] Downloading SQLite3 with notify unlock API enabled success
[x] Installing SQLite3 with notify unlock API enabled success
[x] Installing build requirements success
[x] Updating ANTLR success
[x] Downloading ANTLR C runtime success
[x] Unpacking ANTLR C runtime success
[x] Configuring ANTLR C runtime success
[x] Building ANTLR C runtime success
[x] Installing ANTLR C runtime success
[x] Updating libraries success
[x] Downloading forked-daapd success
[x] Configuring forked-daapd success
[x] Building forked-daapd success
[x] Installing forked-daapd success
[x] Adding 'daapd' user success
[x] Setting 'daapd' permissions success
[x] Configuring logrotate success
[x] Configuring init.d success
Hopefully this will help some of you who, like me, were struggling to get forked-daapd working.
tail -f daap-server.sh.log