New package: mongo-c-driver-1.17.0

This commit is contained in:
Andrew Benson 2020-09-03 16:41:22 -05:00 committed by Andrew Benson
parent dff9ee73b9
commit 73b92209cb
5 changed files with 50 additions and 0 deletions

View file

@ -3992,3 +3992,4 @@ libsignal-protocol-c.so.2 libsignal-protocol-c-2.3.3_2
libSeExpr2Editor.so.3 seexpr-krita-3.4.4.0_1 libSeExpr2Editor.so.3 seexpr-krita-3.4.4.0_1
libSeExpr2.so.3 seexpr-krita-3.4.4.0_1 libSeExpr2.so.3 seexpr-krita-3.4.4.0_1
liburing.so.1 liburing-0.7_1 liburing.so.1 liburing-0.7_1
libbson-1.0.so.0 libbson-1.17.0_1

1
srcpkgs/libbson Symbolic link
View file

@ -0,0 +1 @@
mongo-c-driver

1
srcpkgs/libbson-devel Symbolic link
View file

@ -0,0 +1 @@
mongo-c-driver

View file

@ -0,0 +1 @@
mongo-c-driver

View file

@ -0,0 +1,46 @@
# Template file for 'mongo-c-driver'
pkgname=mongo-c-driver
version=1.17.1
revision=1
build_style=cmake
configure_args="-DENABLE_TESTS=OFF"
hostmakedepends="pkg-config"
makedepends="libressl-devel"
short_desc="High-performance MongoDB driver for C"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="Apache-2.0"
homepage="https://mongoc.org"
distfiles="https://github.com/mongodb/mongo-c-driver/releases/download/${version}/mongo-c-driver-${version}.tar.gz"
checksum=de0f2d3cdaa2a88918abb9b88a41032f82782e0074ed042fff1955471c52586a
mongo-c-driver-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
vmove "usr/include/libmongoc*"
vmove "usr/lib/cmake/*mongoc*"
vmove "usr/lib/pkgconfig/libmongoc*"
vmove "usr/lib/libmongoc*.so"
vmove "usr/lib/libmongoc*.a"
}
}
libbson_package() {
short_desc="Cross Platform BSON Library for C"
pkg_install() {
vmove "usr/lib/libbson*.so.*"
}
}
libbson-devel_package() {
short_desc="Cross Platform BSON Library for C - development files"
depends="libbson>=${version}_${revision}"
pkg_install() {
vmove "usr/include/libbson*"
vmove "usr/lib/cmake/*bson*"
vmove "usr/lib/pkgconfig/libbson*"
vmove "usr/lib/libbson*.so"
vmove "usr/lib/libbson*.a"
}
}