# Template file for 'libebml'
pkgname=libebml
version=1.3.6
revision=2
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
short_desc="Extensible Binary Meta Language library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1-or-later"
homepage="https://dl.matroska.org/downloads/libebml/"
distfiles="https://dl.matroska.org/downloads/libebml/libebml-${version}.tar.xz"
checksum=1e5a7a7820c493aa62b0f35e15b4233c792cc03458c55ebdfa7a6521e4b43e9e

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