1 # Contributor: Ricardo Martins <meqif@swearing-ape.net>
5 pkgdesc="An open-source media server for the Roku SoundBridge and Apple iTunes which supports server-side transcoding and other advanced features."
6 url="http://www.fireflymediaserver.org/"
7 license=('GPL' 'custom:ASPL')
8 depends=('flac' 'libid3tag' 'sqlite3' 'libvorbis' 'avahi' 'vorbis-tools')
11 conflicts=('mt-daapd')
13 backup=(etc/mt-daapd.conf)
15 source=(http://nightlies.mt-daapd.org/$pkgname-$pkgver.tar.gz \
17 md5sums=('2f918d7dbe09f06153de90cba7e2df9b' \
18 '96156b11573d513785a7e94399d8a6e4')
21 cd $startdir/src/$pkgname-$pkgver
22 ./configure --prefix=/usr --enable-flac --enable-avahi --enable-oggvorbis --enable-sqlite3
24 make DESTDIR=$startdir/pkg install
25 mkdir -p $startdir/pkg/etc/rc.d
26 cp $startdir/mt-daapd $startdir/pkg/etc/rc.d/mt-daapd
27 cp $startdir/src/$pkgname-$pkgver/contrib/mt-daapd.conf $startdir/pkg/etc/mt-daapd.conf
28 mkdir -p $startdir/pkg/usr/share/licenses/$pkgname
29 cp $startdir/src/$pkgname-$pkgver/admin-root/aspl-license.txt $startdir/pkg/usr/share/licenses/$pkgname/aspl-license.txt