void-packages/srcpkgs/libbson/template

27 lines
696 B
Bash
Raw Normal View History

2015-10-19 13:01:53 +00:00
# Template file for 'libbson'
pkgname=libbson
2016-11-28 20:14:23 +00:00
version=1.5.0
2015-10-19 13:01:53 +00:00
revision=1
build_style=gnu-configure
2016-09-10 08:12:16 +00:00
hostmakedepends="perl automake libtool"
2015-10-19 13:01:53 +00:00
short_desc="The libbson BSON serialization library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="https://github.com/mongodb/libbson"
2016-09-10 08:12:16 +00:00
distfiles="https://github.com/mongodb/libbson/archive/${version}.tar.gz"
2016-11-28 20:14:23 +00:00
checksum=67aef6d6bac9871a8880a2ebb513637def409c3411db8612fd5a28dc612e77a8
2016-09-10 08:12:16 +00:00
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
2015-10-19 13:01:53 +00:00
libbson-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}