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

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

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (command line program from the mp3splt project)"
"Mp3Splt-project is a utility to split mp3 and ogg files selecting a"
"begin and an end time position, without decoding. It's very useful to"
"split large mp3/ogg to make smaller files or to split entire albums to"
"obtain original tracks. You can extract tracks from Mp3Wrap or"
"AlbumWrap files in few seconds."
)

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