[arch-commits] Commit in libmongoc/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Tue Feb 14 06:34:35 UTC 2017
Date: Tuesday, February 14, 2017 @ 06:34:35
Author: felixonmars
Revision: 212284
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
libmongoc/repos/community-staging-i686/
libmongoc/repos/community-staging-i686/PKGBUILD
(from rev 212283, libmongoc/trunk/PKGBUILD)
libmongoc/repos/community-staging-x86_64/
libmongoc/repos/community-staging-x86_64/PKGBUILD
(from rev 212283, libmongoc/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
Copied: libmongoc/repos/community-staging-i686/PKGBUILD (from rev 212283, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2017-02-14 06:34:35 UTC (rev 212284)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.6.0
+pkgrel=2
+pkgdesc='A client library written in C for MongoDB'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libbson' 'libsasl')
+makedepends=('git')
+checkdepends=('python-pifpaf')
+checkdepends_x86_64=('mongodb')
+source=("git+https://github.com/mongodb/mongo-c-driver.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+ cd "$srcdir/mongo-c-driver"
+ PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/mongo-c-driver"
+ pifpaf run mongodb --port 27017 make test || warning "Tests failed"
+}
+
+package() {
+ cd "$srcdir/mongo-c-driver"
+ make DESTDIR="$pkgdir/" install
+}
Copied: libmongoc/repos/community-staging-x86_64/PKGBUILD (from rev 212283, libmongoc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2017-02-14 06:34:35 UTC (rev 212284)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=libmongoc
+pkgver=1.6.0
+pkgrel=2
+pkgdesc='A client library written in C for MongoDB'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org/display/DOCS/C+Language+Center'
+license=('Apache')
+depends=('libbson' 'libsasl')
+makedepends=('git')
+checkdepends=('python-pifpaf')
+checkdepends_x86_64=('mongodb')
+source=("git+https://github.com/mongodb/mongo-c-driver.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+build() {
+ cd "$srcdir/mongo-c-driver"
+ PTHREAD_LIBS=-pthread ./autogen.sh --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/mongo-c-driver"
+ pifpaf run mongodb --port 27017 make test || warning "Tests failed"
+}
+
+package() {
+ cd "$srcdir/mongo-c-driver"
+ make DESTDIR="$pkgdir/" install
+}
More information about the arch-commits
mailing list