void-packages/srcpkgs/libbson/template
maxice8 ddf8fb6d15 libbson: update to 1.9.4.
Closes #13347.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-16 22:42:38 +02:00

26 lines
690 B
Bash

# Template file for 'libbson'
pkgname=libbson
version=1.9.4
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=6b1bbd52dcc688e005c8784cb5637f2f16b34a825f251a6b57597edea3cea2a7
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
}
}