# Tanım: Konsol müzik çalar.
# URL: http://moc.daper.net/
# Paketçi: milisarge
# Gerekler: curl libsndfile jack libid3tag libmad
# Grup: medya

isim=moc
surum=2.5.1
devir=1
kaynak=(ftp://ftp.daper.net/pub/soft/$isim/stable/$isim-$surum.tar.bz2)

derle() {
	cd $isim-$surum
	autoreconf -f -i -Wall,no-obsolete
    ./configure --prefix=/usr --without-rcc \
    --with-alsa --with-jack --with-aac --with-mp3 \
    --with-musepack --with-vorbis --with-flac --with-wavpack \
    --with-sndfile --with-modplug --with-ffmpeg --with-speex \
    --with-samplerate --with-curl --with-sidplay2 --disable-debug

	make
	make DESTDIR=$PKG install
	install -D -m 0644 -t $PKG/usr/share/moc/ config.example keymap.example 
	rm -rf $PKG/usr/share/doc
}
