# Template file for 'libebml'
pkgname=libebml
version=1.4.7
revision=1
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
makedepends="utfcpp"
short_desc="Extensible Binary Meta Language library"
maintainer="Matthias von Faber <mvf@gmx.eu>"
license="LGPL-2.1-or-later"
homepage="https://matroska-org.github.io/libebml/"
changelog="https://github.com/Matroska-Org/libebml/raw/master/NEWS.md"
distfiles="https://dl.matroska.org/downloads/libebml/libebml-${version}.tar.xz"
checksum=5b08214f929ee54c6187c370f84235fc9d0f2a2258c4d320d68eae6e2bdfd3f7

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
	}
}
