From 73b92209cb93c31db306fec0d69b43e050c7d440 Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Thu, 3 Sep 2020 16:41:22 -0500 Subject: [PATCH] New package: mongo-c-driver-1.17.0 --- common/shlibs | 1 + srcpkgs/libbson | 1 + srcpkgs/libbson-devel | 1 + srcpkgs/mongo-c-driver-devel | 1 + srcpkgs/mongo-c-driver/template | 46 +++++++++++++++++++++++++++++++++ 5 files changed, 50 insertions(+) create mode 120000 srcpkgs/libbson create mode 120000 srcpkgs/libbson-devel create mode 120000 srcpkgs/mongo-c-driver-devel create mode 100644 srcpkgs/mongo-c-driver/template diff --git a/common/shlibs b/common/shlibs index 45814400bd..2fd749cde4 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 libSeExpr2.so.3 seexpr-krita-3.4.4.0_1 liburing.so.1 liburing-0.7_1 +libbson-1.0.so.0 libbson-1.17.0_1 diff --git a/srcpkgs/libbson b/srcpkgs/libbson new file mode 120000 index 0000000000..5623f965ae --- /dev/null +++ b/srcpkgs/libbson @@ -0,0 +1 @@ +mongo-c-driver \ No newline at end of file diff --git a/srcpkgs/libbson-devel b/srcpkgs/libbson-devel new file mode 120000 index 0000000000..5623f965ae --- /dev/null +++ b/srcpkgs/libbson-devel @@ -0,0 +1 @@ +mongo-c-driver \ No newline at end of file diff --git a/srcpkgs/mongo-c-driver-devel b/srcpkgs/mongo-c-driver-devel new file mode 120000 index 0000000000..5623f965ae --- /dev/null +++ b/srcpkgs/mongo-c-driver-devel @@ -0,0 +1 @@ +mongo-c-driver \ No newline at end of file diff --git a/srcpkgs/mongo-c-driver/template b/srcpkgs/mongo-c-driver/template new file mode 100644 index 0000000000..9b8f4b48b1 --- /dev/null +++ b/srcpkgs/mongo-c-driver/template @@ -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 " +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" + } +}