# Template file for 'libmatroska'
pkgname=libmatroska
version=1.4.7
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libebml-devel"
short_desc="Extensible open standard Audio/Video container format"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://dl.matroska.org/downloads/libmatroska/"
license="LGPL-2.1"
distfiles="http://dl.matroska.org/downloads/libmatroska/libmatroska-${version}.tar.bz2"
checksum=46441eb3bae9f970f68affaa211dd74302a7072dcd2becfb1114da11b66525fa

pre_configure() {
	autoreconf -if
}

libmatroska-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
