# Template file for 'libebml'
pkgname=libebml
version=1.3.4
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
short_desc="Extensible Binary Meta Language library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://dl.matroska.org/downloads/libebml/"
license="LGPL-2.1"
distfiles="http://dl.matroska.org/downloads/libebml/libebml-${version}.tar.bz2"
checksum=c50d3ecf133742c6549c0669c3873f968e11a365a5ba17b2f4dc339bbe51f387

pre_configure() {
	autoreconf -if
}

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