# Description: flexible, powerful, server-side application for playing music # URL: https://www.musicpd.org/ # Maintainer: #teatime (irc.kyber.io), teatime at kyber dot io # Depends on: libmad libvorbis libid3tag glib faad2 flac libshout fluidsynth name=mpd version=0.20.19 release=1 source=(http://www.musicpd.org/download/$name/0.20/$name-$version.tar.xz mpd) build() { cd $name-$version ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --enable-ffmpeg --enable-flac --enable-fluidsynth --enable-pipe-output --enable-shout --enable-vorbis --enable-vorbis-encoder --enable-wave-encoder 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 -r $PKG/usr/share/doc }