2017-01-16 00:39:37 +00:00
|
|
|
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
|
|
|
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - build with armv8-a CRC extensions
|
|
|
|
|
|
|
|
buildarch=8
|
|
|
|
|
|
|
|
pkgname=wiredtiger
|
2018-09-17 18:43:20 +00:00
|
|
|
pkgver=3.0.0.20180814
|
|
|
|
_commit=aeeee2053a380ebd2ba90f606a56176737882aad
|
2018-05-27 14:17:03 +00:00
|
|
|
pkgrel=1
|
2017-01-16 00:39:37 +00:00
|
|
|
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')
|
2017-12-27 13:49:10 +00:00
|
|
|
source=("$pkgname-$_commit.tar.gz::https://github.com/wiredtiger/wiredtiger/archive/$_commit.tar.gz")
|
2018-09-17 18:43:20 +00:00
|
|
|
sha512sums=('03c312b5c748843faeceaf2c999c90a92be7f89a1701197cd5cd1a6a7cf5de750f0421e88648fa277c98374ca41a1b63acf5a8707d6181f5f77d13ae364dea64')
|
2017-12-27 13:49:10 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mv wiredtiger-{$_commit,$pkgver}
|
|
|
|
}
|
2017-01-16 00:39:37 +00:00
|
|
|
|
|
|
|
build() {
|
2017-09-21 18:27:59 +00:00
|
|
|
cd wiredtiger-$pkgver
|
|
|
|
|
2017-01-16 00:39:37 +00:00
|
|
|
CFLAGS=`echo $CFLAGS | sed -e 's/armv8-a/armv8-a+crc/'` && CXXFLAGS="$CFLAGS"
|
|
|
|
./autogen.sh
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--enable-leveldb \
|
|
|
|
--enable-lz4 \
|
|
|
|
--enable-tcmalloc \
|
2017-12-27 13:49:10 +00:00
|
|
|
--enable-verbose \
|
2017-01-16 00:39:37 +00:00
|
|
|
--with-builtins=snappy,zlib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2017-09-21 18:27:59 +00:00
|
|
|
cd wiredtiger-$pkgver
|
2017-01-16 00:39:37 +00:00
|
|
|
make test
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2017-09-21 18:27:59 +00:00
|
|
|
cd wiredtiger-$pkgver
|
|
|
|
make DESTDIR="$pkgdir" install
|
2017-01-16 00:39:37 +00:00
|
|
|
}
|