23 lines
617 B
Bash
23 lines
617 B
Bash
# Template file for 'spdlog'
|
|
pkgname=spdlog
|
|
version=1.8.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DSPDLOG_BUILD_EXAMPLE=OFF -DSPDLOG_FMT_EXTERNAL=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fmt-devel"
|
|
short_desc="Fast C++ logging library"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://github.com/gabime/spdlog"
|
|
distfiles="https://github.com/gabime/spdlog/archive/v${version}.tar.gz"
|
|
checksum=e20e6bd8f57e866eaf25a5417f0a38a116e537f1a77ac7b5409ca2b180cec0d5
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DSPDLOG_BUILD_TESTS_HO=ON"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|