milis/talimatname/genel/m/mpd/talimat

33 lines
805 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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