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

pkgname=schroedinger
pkgver=1.0.11
pkgrel=1gv
source=("http://www.diracvideo.org/download/schroedinger/schroedinger-$pkgver.tar.gz")
url=http://www.diracvideo.org/
docs=('AUTHORS' 'COPYING*' 'NEWS' 'TODO')

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"$pkgname (Library for en/de-coding video in the Dirac format)"
"Library for decoding and encoding video in the Dirac format. It is"
"implemented in ANSI C and optimized through the us of liboil. libschro"
"is written as a collaboration between the BBC Research and"
"Development, David Schleef and Fluendo."
)

build() {
	cd $startdir/src/${pkgname}-${pkgver}
	./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-static --with-html-dir=/usr/share/doc/$pkgname/ --build=$arch-slackware-linux
	make || return 1
	make DESTDIR=$startdir/pkg install

	# remove html documentation
	rm -rf /$startdir/pkg/usr/share/doc/schroedinger
}