# Description: Music playback daemon # URL: http://www.musicpd.org/ # Maintainer: Thomas Penteker, tek at serverop dot de # Packager: Mark Rosenstand, mark at borkware dot net # Depends on: libmad libvorbis libid3tag glib # Nice to have: faad2 flac audiofile boost name=mpd version=0.20.1 release=1 source=(http://www.musicpd.org/download/mpd/0.20/$name-$version.tar.xz mpd) build() { cd $name-$version ./configure \ --prefix=/usr \ --mandir=/usr/man \ --sysconfdir=/etc make make DESTDIR=$PKG install mkdir -p $PKG/etc install -m 0644 doc/mpdconf.example $PKG/etc/mpd.conf install -D $SRC/mpd $PKG/etc/rc.d/mpd rm -rf $PKG/usr/share }