#Maintainer: Thorsten Muehlfelder <thenktor(at)gmx.de>

pkgname=libmp3splt
pkgver=0.6
pkgrel=1tm
source=("http://prdownloads.sourceforge.net/mp3splt/libmp3splt-$pkgver.tar.gz")
url="http://mp3splt.sourceforge.net"
docs=(ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL LIMITS NEWS README TODO)

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (library from the mp3splt project)"
"mp3splt is a free utility to split mp3/ogg files (without decoding),"
"selecting begin/end time; if file is an album, you can get splitpoints"
"automatically from internet or a local cue/cddb file. It splits also"
"Mp3Wrap and AlbumWrap archives."
"The mp3splt project is divided in 3 parts:"
" - libmp3splt, a library (created from mp3splt version 2.1c)"
" - mp3splt, a command line program"
" - mp3splt-gtk, a GTK2 gui"
"Homepage: http://mp3splt.sourceforge.net/"
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static
	make -j $numjobs || return 1
	make DESTDIR=$startdir/pkg/ install || return 1
}