#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=xmms-crossfade
pkgver=0.3.14
pkgrel=1gv
arch=i486
source=(http://www.eisenlohr.org/xmms-crossfade/xmms-crossfade-$pkgver.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
url=http://www.eisenlohr.org/xmms-crossfade

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"xmms-crossfade (a Crossfading/Gapless Plugin for XMMS)"
"XMMS-Crossfade can be used to remove the gaps between two songs,"
"or to smoothly crossfade inbetween. Automatically detects live albums"
"and pre-mixed tracks which already are crossfaded. For those tracks,"
"crossfading can be disabled automatically."
)


build() {
	cd $startdir/src/xmms-crossfade-$pkgver
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX}/xmms/Output --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --enable-player=xmms --enable-id3 --enable-samplerate
	make || return 1
	make install DESTDIR=$startdir/pkg
}