void-packages/srcpkgs/libbson/template
2017-01-12 12:52:44 +00:00

26 lines
696 B
Bash

# Template file for 'libbson'
pkgname=libbson
version=1.5.3
revision=1
build_style=gnu-configure
hostmakedepends="perl automake libtool"
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/archive/${version}.tar.gz"
checksum=3278f28a8d177ed770e48212be9c614d19702f061342fd397f369760d4696c53
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
}
}