24 lines
901 B
Bash
24 lines
901 B
Bash
# Template file for 'xrootd'
|
|
pkgname=xrootd
|
|
version=5.5.5
|
|
revision=3
|
|
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"
|
|
elif [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|