# $Id$ # Maintainer: Felix Yan # Contributor: Stefan Husmann # ALARM: Kevin Mihelich # - build with armv8-a CRC extensions buildarch=8 pkgname=wiredtiger pkgver=3.0.0.20180614 _commit=7d3e691fd4d5ba7810647c317692129fea694602 pkgrel=1 pkgdesc="High performance, scalable, production quality, NoSQL, Open Source extensible platform for data management" arch=('x86_64') url="http://source.wiredtiger.com/" license=('GPL') depends=('snappy' 'lz4' 'zlib' 'gperftools') source=("$pkgname-$_commit.tar.gz::https://github.com/wiredtiger/wiredtiger/archive/$_commit.tar.gz") sha512sums=('7a862779625c3daa7f5534000edc4efaf6bb186c4701d5a619034e772b1d268340e47f119e31f7f2576b93df873fc297871bbf408dc8b9bcb4b316ed6d90767b') prepare() { mv wiredtiger-{$_commit,$pkgver} } build() { cd wiredtiger-$pkgver CFLAGS=`echo $CFLAGS | sed -e 's/armv8-a/armv8-a+crc/'` && CXXFLAGS="$CFLAGS" ./autogen.sh ./configure --prefix=/usr \ --enable-leveldb \ --enable-lz4 \ --enable-tcmalloc \ --enable-verbose \ --with-builtins=snappy,zlib make } check() { cd wiredtiger-$pkgver make test } package() { cd wiredtiger-$pkgver make DESTDIR="$pkgdir" install }