# Template file for 'libbson'
pkgname=libbson
version=1.3.3
revision=1
build_style=gnu-configure
hostmakedepends="perl"
short_desc="The libbson BSON serialization library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="https://github.com/mongodb/libbson"
distfiles="https://github.com/mongodb/libbson/releases/download/${version}/libbson-${version}.tar.gz"
checksum=6798698d685c03d921d6a5546d0451e79db3b6bb4571a5cc8c70f2563e2a2c4c

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