void-packages/srcpkgs/xrootd/template

25 lines
919 B
Bash

# Template file for 'xrootd'
pkgname=xrootd
version=5.5.5
revision=1
build_style=cmake
configure_args="-DENABLE_TESTS=ON -DCMAKE_BUILD_TYPE=Release"
hostmakedepends="pkgconf"
makedepends="zlib-devel openssl-devel libuuid-devel readline-devel
libcurl-devel mit-krb5-devel libxml2-devel tinyxml-devel libcppunit-devel
fuse-devel json-c-devel"
short_desc="Low latency, scalable and fault tolerant access to data"
maintainer="Ben Jargowsky <benjar63@gmail.com>"
license="LGPL-3.0-or-later"
homepage="https://xrootd.slac.stanford.edu"
distfiles="http://xrootd.org/download/v${version}/xrootd-${version}.tar.gz"
checksum=0710caae527082e73d3bf8f9d1dffe95808afd3fcaaaa15ab0b937b8b226bc1f
if [ "$XBPS_TARGET_LIBC" = musl ]; then
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo"
makedepends+=" libexecinfo-devel"
fi
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
configure_args+=" -DCMAKE_EXE_LINKER_FLAGS=-latomic"
fi