contrib/mpd/Pkgfile

30 lines
695 B
Plaintext
Raw Normal View History

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
2017-01-14 01:39:27 +01:00
# Nice to have: faad2 flac audiofile boost
2006-10-22 10:48:54 +02:00
name=mpd
2017-05-08 01:15:12 +02:00
version=0.20.6
2006-10-22 10:48:54 +02:00
release=1
2017-01-14 01:39:27 +01:00
source=(http://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 \
2013-04-09 03:11:34 +02:00
--mandir=/usr/man \
--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
2009-09-19 17:55:10 +02:00
mkdir -p $PKG/etc
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
2009-09-19 17:55:10 +02:00
rm -rf $PKG/usr/share
2006-10-22 10:48:54 +02:00
}