void-packages/srcpkgs/wiredtiger/template

32 lines
1.0 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.org>"
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 ppc64le ppc64le-musl ppc64-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
}
}