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
|
2011-05-16 11:07:30 +02:00
|
|
|
# Depends on: libmad libvorbis libid3tag glib
|
|
|
|
# Nice to have: faad2 flac audiofile
|
2006-10-22 10:48:54 +02:00
|
|
|
|
|
|
|
name=mpd
|
2013-04-09 03:11:34 +02:00
|
|
|
version=0.16.8
|
2006-10-22 10:48:54 +02:00
|
|
|
release=1
|
2010-11-12 12:03:50 +01:00
|
|
|
source=(http://download.sourceforge.net/musicpd/$name-$version.tar.bz2)
|
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 \
|
2013-04-09 03:11:34 +02:00
|
|
|
--mandir=/usr/man \
|
|
|
|
--sysconfdir=/etc
|
|
|
|
|
2009-09-19 17:55:10 +02:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-09-07 21:03:58 +02:00
|
|
|
|
2009-09-19 17:55:10 +02:00
|
|
|
mkdir -p $PKG/etc
|
|
|
|
install -m 0644 doc/mpdconf.example $PKG/etc/mpd.conf
|
2007-09-07 21:03:58 +02:00
|
|
|
|
2009-09-19 17:55:10 +02:00
|
|
|
rm -rf $PKG/usr/share
|
2006-10-22 10:48:54 +02:00
|
|
|
}
|