2017-11-27 23:36:31 +01:00
|
|
|
|
# Tanım: Esnek,güçlü sunucu bazlı müzik çalıcısı
|
|
|
|
|
# URL: https://www.musicpd.org/
|
|
|
|
|
# Paketçi: milisarge
|
2017-11-27 23:42:10 +01:00
|
|
|
|
# Gerekler: libmad libvorbis libid3tag glib faad2 flac libshout fluidsynth boost ffmpeg
|
2017-11-27 23:36:31 +01:00
|
|
|
|
|
|
|
|
|
isim=mpd
|
|
|
|
|
surum=0.20.12
|
|
|
|
|
devir=1
|
2017-11-27 23:42:10 +01:00
|
|
|
|
kaynak=(http://www.musicpd.org/download/$isim/0.20/$isim-$surum.tar.xz
|
|
|
|
|
servis)
|
2017-11-27 23:36:31 +01:00
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd $isim-$surum
|
|
|
|
|
./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
|
2017-11-27 23:42:10 +01:00
|
|
|
|
mkdir -p $PKG/etc/rc.d/init.d
|
|
|
|
|
install -D $SRC/servis $PKG/etc/rc.d/init.d/mpd
|
2017-11-27 23:36:31 +01:00
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
|
}
|