2009-09-19 17:55:10 +02:00
|
|
|
# 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
|
2017-06-25 22:45:03 +10:00
|
|
|
# Depends on: libmad libvorbis libid3tag glib boost
|
|
|
|
# Optional: faad2 flac audiofile
|
2006-10-22 10:48:54 +02:00
|
|
|
|
|
|
|
name=mpd
|
2017-06-25 22:45:03 +10:00
|
|
|
version=0.20.9
|
2006-10-22 10:48:54 +02:00
|
|
|
release=1
|
2017-06-25 22:45:03 +10:00
|
|
|
source=(https://www.musicpd.org/download/mpd/0.20/$name-$version.tar.xz mpd)
|
2006-10-22 10:48:54 +02:00
|
|
|
|
|
|
|
build() {
|
2009-09-19 17:55:10 +02:00
|
|
|
cd $name-$version
|
2007-09-07 21:03:58 +02:00
|
|
|
|
2009-09-19 17:55:10 +02:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
2015-11-30 01:49:43 +01:00
|
|
|
--sysconfdir=/etc
|
2013-10-24 12:06:49 +02:00
|
|
|
|
2009-09-19 17:55:10 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-09-07 21:03:58 +02:00
|
|
|
|
2017-06-25 22:45:03 +10:00
|
|
|
install -d $PKG/etc
|
2009-09-19 17:55:10 +02:00
|
|
|
install -m 0644 doc/mpdconf.example $PKG/etc/mpd.conf
|
2016-07-19 01:13:34 +02:00
|
|
|
install -D $SRC/mpd $PKG/etc/rc.d/mpd
|
2007-09-07 21:03:58 +02:00
|
|
|
|
2017-06-25 22:45:03 +10:00
|
|
|
rm -r $PKG/usr/share/doc
|
2006-10-22 10:48:54 +02:00
|
|
|
}
|