summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Rohnstock2015-06-10 14:19:54 +0200
committerMathias Rohnstock2015-06-10 14:19:54 +0200
commit474456f2791b61187410b1c3f36ac5b7002853d1 (patch)
treee58bce024f3032ea08af19bab18dab04a9e38cd0
downloadaur-474456f2791b61187410b1c3f36ac5b7002853d1.tar.gz
Upstream update to 1.0.3
-rw-r--r--.SRCINFO22
-rw-r--r--PKGBUILD32
2 files changed, 54 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..13d305398f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,22 @@
+pkgbase = mongo-cxx-driver-legacy
+ pkgdesc = Official MongoDB C++ driver (legacy).
+ pkgver = 1.0.3
+ pkgrel = 1
+ url = http://www.mongodb.org
+ arch = i686
+ arch = x86_64
+ license = APACHE
+ makedepends = scons
+ makedepends = boost
+ makedepends = readline
+ depends = boost-libs
+ depends = openssl
+ depends = libsasl
+ provides = mongo-cxx-driver
+ conflicts = mongodb<2.6.0
+ options = staticlibs
+ source = https://github.com/mongodb/mongo-cxx-driver/archive/legacy-1.0.3.tar.gz
+ sha512sums = 5912184b19ce1eba55c8bbf4645e1976a60a5af3bbdfeb0a1e549b36cd2636d972c3c06c2e2071167726466c04c935ff2472dcb94767f1b97987f7357a938b31
+
+pkgname = mongo-cxx-driver-legacy
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..55680ccb7bb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: monty <linksoft [at] gmx [dot] de>
+
+_pkg=mongo-cxx-driver
+_subpkg=legacy
+pkgname=${_pkg}-${_subpkg}
+pkgver=1.0.3
+pkgrel=1
+pkgdesc='Official MongoDB C++ driver (legacy).'
+arch=('i686' 'x86_64')
+url='http://www.mongodb.org'
+license=(APACHE)
+depends=('boost-libs' 'openssl' 'libsasl')
+makedepends=('scons' 'boost' 'readline')
+source=("https://github.com/mongodb/${_pkg}/archive/${_subpkg}-${pkgver//_/-}.tar.gz")
+conflicts=("mongodb<2.6.0")
+options=("staticlibs")
+provides=("mongo-cxx-driver")
+
+package() {
+ cd ${pkgname}-${pkgver//_/-}
+
+ scons \
+ --use-sasl-client \
+ --ssl \
+ --prefix="$pkgdir/usr" \
+ --disable-warnings-as-errors \
+ --sharedclient \
+ install
+}
+
+sha512sums=('5912184b19ce1eba55c8bbf4645e1976a60a5af3bbdfeb0a1e549b36cd2636d972c3c06c2e2071167726466c04c935ff2472dcb94767f1b97987f7357a938b31')