void-packages/srcpkgs/wiredtiger/template
2017-07-03 17:34:15 +02:00

31 lines
1,021 B
Bash

# Template file for 'wiredtiger'
pkgname=wiredtiger
version=2.9.3
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=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
}
}