22 lines
764 B
Bash
22 lines
764 B
Bash
# Template file for 'xrootd'
|
|
pkgname=xrootd
|
|
version=5.4.2
|
|
revision=1
|
|
build_style=cmake
|
|
makedepends="zlib-devel openssl-devel libuuid-devel readline-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=d868ba5d8b71ec38f7a113d2d8f3e25bbcedc1bc23d21bba1686ddfdb2b900c1
|
|
|
|
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"
|
|
makedepends+=" libatomic-devel"
|
|
fi
|