#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com)

pkgname=libebml
pkgver=1.0.0
pkgrel=1gv
source=(http://dl.matroska.org/downloads/libebml/libebml-$pkgver.tar.bz2)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo" "license*")
url=http://www.bunkus.org/videotools/mkvtoolnix/index.html

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libebml (a C++ libary to parse EBML files)"
"libebml allows to read and write files using EBML (the Extensible"
"Binary Meta Language), a binary pendant to XML."
)


build() {
	cd $startdir/src/$pkgname-$pkgver/make/linux
	make sharedlib prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} || return 1
	make install_sharedlib install_headers prefix=$startdir/pkg/usr libdir=$startdir/pkg/usr/lib${LIBDIRSUFFIX}
}