31 lines
1,021 B
Bash
31 lines
1,021 B
Bash
# Template file for 'wiredtiger'
|
|
pkgname=wiredtiger
|
|
version=2.9.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-zlib --enable-lz4 --enable-snappy"
|
|
makedepends="zlib-devel lz4-devel snappy-devel"
|
|
short_desc="an 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=2995acab3422f1667b50e487106c6c88b8666d3cf239d8ecffa2dbffb17dfdcf
|
|
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
|
|
}
|
|
}
|