aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mongo-c-driver
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mongo-c-driver')
-rw-r--r--testing/mongo-c-driver/APKBUILD21
1 files changed, 10 insertions, 11 deletions
diff --git a/testing/mongo-c-driver/APKBUILD b/testing/mongo-c-driver/APKBUILD
index 10e8af4314..69867da24c 100644
--- a/testing/mongo-c-driver/APKBUILD
+++ b/testing/mongo-c-driver/APKBUILD
@@ -1,15 +1,13 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=mongo-c-driver
-pkgver=1.8.0
+pkgver=1.9.2
pkgrel=0
pkgdesc="Client library written in C for MongoDB"
url="https://github.com/mongodb/mongo-c-driver"
arch="all"
license="Apache-2.0"
-depends=
-depends_dev=
makedepends="$depends_dev autoconf automake libbson-dev libtool"
-install=
+options="!check" # requires a local running db instance
subpackages="$pkgname-dev $pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mongodb/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
@@ -21,16 +19,17 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
- make || return 1
+ make
}
-package() {
+check() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make test
+}
- # remove the 2 lines below (and this) if there is no init.d script
- # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
- # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-sha512sums="c5df689121436c542dc59d7cf13199aa3e3db7aad1ebfe4529e996ecc8c48f645ddcbbe3a46f14ef06004415c12db6f806e76d1e2601ec5e52ee4430baca250c mongo-c-driver-1.8.0.tar.gz"
+sha512sums="25fd78e23300c56dd72becd64bd47573e0c2ed9c5d2af1a917c2dbbfeea69054cc9c6eed6965be20aa325fa68a5c37791495cad44a164134868fa2ae823ea2ef mongo-c-driver-1.9.2.tar.gz"