void-packages/srcpkgs/wiredtiger/template
1 7697e86a75 wiredtiger: enable verbose for wiredtiger_open
MongoDB has WiredTiger as a dependency and needs this flag enabled,
otherwise it won't run with "storage.engine: wiredTiger".

Also correct spelling of the description.
2018-10-18 09:24:43 +02:00

31 lines
1 KiB
Bash

# Template file for 'wiredtiger'
pkgname=wiredtiger
version=2.9.3
revision=3
build_style=gnu-configure
configure_args="--enable-verbose --enable-zlib --enable-lz4 --enable-snappy"
makedepends="zlib-devel liblz4-devel snappy-devel"
short_desc="High performance, scalable, platform for data management"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="GPL-3"
homepage="http://source.wiredtiger.com/"
distfiles="https://github.com/wiredtiger/wiredtiger/releases/download/$version/wiredtiger-$version.tar.bz2"
checksum=2502a90d6b3d3cae0b1bf221cbfe13999d3bcb7f8bb9fa795ad870be4fc0e1e7
case "$XBPS_TARGET_MACHINE" in
aarch64*)
CFLAGS+=" -march=armv8-a+crc"
esac
# checking for a 64-bit build... configure: error: WiredTiger requires a 64-bit build.
only_for_archs="aarch64 aarch64-musl x86_64 x86_64-musl"
wiredtiger-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
}
}