void-packages/srcpkgs/xrootd/template

24 lines
901 B
Bash

# Template file for 'xrootd'
pkgname=xrootd
version=5.6.7
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=4089ce3a69fcf6566d320ef1f4a73a1d6332e6835b7566e17548569bdea78a8d
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