# $Id: PKGBUILD 76844 2012-10-01 05:33:09Z svenstaro $ # Maintainer: Sven-Hendrik Haase # Contributor: Thomas Dziedzic < gostrc at gmail > # Contributor: Mathias Stearn # Contributor: Alec Thomas pkgname=mongodb pkgver=2.2.0 pkgrel=2 pkgdesc='A high-performance, open source, schema-free document-oriented database' arch=('i686' 'x86_64' 'mips64el') url='http://www.mongodb.org' license=('AGPL3') depends=('boost-libs') makedepends=('scons' 'boost' 'libpcap') checkdepends=('python2-pymongo') optdepends=('libpcap: needed for mongosniff') backup=('etc/mongodb.conf') install="mongodb.install" source=("http://downloads.mongodb.org/src/mongodb-src-r${pkgver}.tar.gz" 'mongodb.rc' 'mongodb.conf' 'mongodb.service' 'SConscript.client.patch' 'boost1.50.patch') md5sums=('832bdb6cc659176fd8d6b16a660ccfc6' '9c67e00f4626ad761a8f7d4e037a54d7' '4839fe1d638187ca3226e8267b947318' '96ab4517b48974ce0e566d9746a75a4f' 'a9529e2a6e392ffecef7a9178394c814' 'da8a9d78e4a38d1ed8e92a210d4b5ba7') build() { export SCONSFLAGS="$MAKEFLAGS" cd mongodb-src-r${pkgver} # fix https://jira.mongodb.org/browse/SERVER-5575 patch -Np1 -i ${srcdir}/SConscript.client.patch # fix boost incompatibility patch -Np1 -i ${srcdir}/boost1.50.patch scons all --use-system-boost # --sharedclient currently fails } <