void-packages/srcpkgs/libbson/template
maxice8 b57b9b2e23 libbson: update to 1.9.0.
Closes: #10159 [via git-merge-pr]
2017-12-28 21:11:56 +01:00

27 lines
689 B
Bash

# Template file for 'libbson'
pkgname=libbson
version=1.9.0
revision=1
build_style=gnu-configure
hostmakedepends="perl automake libtool"
short_desc="The 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/archive/${version}.tar.gz"
checksum=1422ee711eeaa6af668cc83a6b5ab8e6cd4335083ebe3acb4a6faa45b7c3b026
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libbson-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}