1 # Maintainer: Valentin V. Bartenev <ne@vbart.ru> http://vbart.info/
6 pkgdesc='The officially supported MongoDB C driver and BSON library.'
8 url='http://www.mongodb.org/display/DOCS/C+Language+Center'
11 source=("$pkgname.tar.gz::https://github.com/mongodb/mongo-c-driver/tarball/v$pkgver")
13 md5sums=(b3d3f61648605d865e7d5fa2a7d3970d)
14 sha256sums=(13249b9b3363d2d6b0a69b9ac65928a7ea2112655fe448e8857437ac85a10754)
18 scons -C "mongodb-mongo-c-driver-$_gitrev" "$MAKEFLAGS"
22 cd "mongodb-mongo-c-driver-$_gitrev"
23 mkdir -p "$pkgdir/usr/lib/"
24 mkdir -p "$pkgdir/usr/include/mongoc/"
25 install -m 755 libmongoc.so libbson.so "$pkgdir/usr/lib/"
27 install -m 644 mongo.h bson.h platform.h "$pkgdir/usr/include/mongoc/"