31 lines
1,021 B
Bash
31 lines
1,021 B
Bash
# Template file for 'wiredtiger'
|
|
pkgname=wiredtiger
|
|
version=2.9.2
|
|
revision=2
|
|
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=22d66a134abb568ccd49017f6a43aa7d095079c3144434b8b1ca329726a418d9
|
|
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
|
|
}
|
|
}
|