# Maintainer: Philipp Andronov # Contributor: Marc Vertes setvar pkgname = 'wiredtiger' setvar mongodb_version = '3.4.6' setvar pkgver = "2.9.3.$mongodb_version" setvar pkgrel = '0' setvar pkgdesc = ""High performance, scalable, production quality, NoSQL, Open Source extensible platform for data management"" setvar url = ""http://www.wiredtiger.com"" setvar arch = ""x86_64"" setvar license = ""(GPLv2 or GPLv3) and MIT and BSD"" setvar depends = """" setvar depends_dev = ""autoconf automake libtool linux-headers"" setvar makedepends = ""$depends_dev lz4-dev zlib-dev snappy-dev libexecinfo-dev"" setvar options = """" setvar subpackages = ""$pkgname-doc $pkgname-dev $pkgname-libs"" setvar install = """" setvar source = ""$pkgname-$pkgver-mongodb-$mongodb_version.tar.gz::https://github.com/wiredtiger/wiredtiger/archive/mongodb-$mongodb_version.tar.gz makemake-remove-libtool-version.patch 10-fix-code-generator.patch "" setvar _builddir = ""$srcdir"/$pkgname-mongodb-$mongodb_version" proc prepare { local i cd $_builddir for i in $source { case (i) { *.patch { msg $i; patch -p1 -i "$srcdir"/$i || return 1} } } sh autogen.sh || return 1 } proc build { cd $_builddir ./configure --prefix=/usr \ --disable-static \ --enable-lz4 \ --with-builtins=zlib,snappy \ || return 1 make || return 1 } proc package { cd $_builddir make DESTDIR="$pkgdir" install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } setvar sha512sums = ""bb0b12334f692ba3fd81067f1ca8009df4042c0535474c4eef56a2dcdd5ab3c6e2ecabb0f9468ba7438ae9b25b50b93e2de0a1b24331e547b615aaf06575f2b1 wiredtiger-2.9.3.3.4.6-mongodb-3.4.6.tar.gz 9eb56a81cbf0b8c695ab86d5c6aa319aee8e6ffc4d4ac94c5ecb17a639cab352f83fdf15db467d3f2961cd05fd00c2b96c3cc357daa32972dd07fb3dfa95852f makemake-remove-libtool-version.patch a24360c18a8dd677a1942fc66ecdfdb8bc514af6de3e19be822293fdc83c051c43f3270f91eaa4524f30b5bc82c6ecad5162ce5b3f5ff470bab4e1a5d9eb79ec 10-fix-code-generator.patch""