#Packager: Dimitris Tzemos <dijemos~at~gmail~dot~com>

pkgname=libmatroska
pkgver=1.4.8
pkgrel=1dj
source=("https://dl.matroska.org/downloads/libmatroska/libmatroska-${pkgver}.tar.xz")
docs=("ChangeLog" "LICENSE.LGPL")
url='https://dl.matroska.org/downloads/libmatroska/'

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libmatroska (A C++ library to parse Matroska files)"
"libmatroska is a C++ libary to parse Matroska files (.mkv and"
".mka)."
"HomePage: http://www.bunkus.org/videotools/mkvtoolnix/source.html"
)


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