Commit bd03354b authored by Russ's avatar Russ Committed by Leo

non-free/mongo-c-driver: move to testing, upgrade to 1.14

parent 779de618
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f7a0dfe..d63b93e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -347,7 +347,7 @@ set (UNINSTALL_PROG_DIR "${CMAKE_INSTALL_FULL_DATADIR}/mongo-c-driver")
#
# This needs to be last (after all other add_subdirectory calls) to ensure that
# the generated uninstall program is complete and correct
-add_subdirectory (generate_uninstall)
+# add_subdirectory (generate_uninstall)
add_custom_target (uninstall
COMMAND "${UNINSTALL_PROG_DIR}/${UNINSTALL_PROG}"
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=mongo-c-driver
pkgver=1.13.0
pkgver=1.14.0
pkgrel=0
pkgdesc="Client library written in C for MongoDB"
url="https://github.com/mongodb/mongo-c-driver"
arch="all !x86 !armhf !armv7" # testsuite fails on x86 and armhf
arch="all"
license="Apache-2.0"
makedepends="openssl-dev snappy-dev zlib-dev libtool py3-sphinx cmake"
subpackages="$pkgname-dev $pkgname-doc libbson"
source="https://github.com/mongodb/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
generate_uninstall.patch
"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc libbson"
source="https://github.com/mongodb/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
case "$CARCH" in
# FIXME: Tests hang on aarch64.
aarch64) options="!check";;
esac
build() {
mkdir -p "$srcdir"/build
cd "$srcdir"/build
......@@ -49,6 +42,9 @@ check() {
package() {
cd "$srcdir"/build
make DESTDIR="$pkgdir" install
# removes COPYING, NEWS, README, uninstall script
rm -rf "$pkgdir/usr/share/mongo-c-driver"
}
libbson() {
......@@ -57,5 +53,4 @@ libbson() {
mv "$pkgdir"/usr/lib/libbson-* "$subpkgdir"/usr/lib/
}
sha512sums="01b17857a1cb843b133975594772c094edecb6c149d8628eaa42de1855152185114186d0e8d829e99c9106c133018b1242e34e3ac511a36b2b7a38baea5f5aba mongo-c-driver-1.13.0.tar.gz
494800bb53585f2b911b672263d32e2af1ce818bbff55623fde8c06477429010e9ca31b905175a08d1554499c497af6514f74c9071f4f9d9b2d82077d6ddad4f generate_uninstall.patch"
sha512sums="99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994 mongo-c-driver-1.14.0.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment