29 lines
777 B
Bash
29 lines
777 B
Bash
# Template file for 'spdlog'
|
|
pkgname=spdlog
|
|
version=1.10.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DSPDLOG_BUILD_EXAMPLE=OFF -DSPDLOG_FMT_EXTERNAL=ON
|
|
-DSPDLOG_BUILD_SHARED=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="fmt-devel"
|
|
depends="libspdlog>=${version}_${revision} fmt-devel"
|
|
short_desc="Fast C++ logging library"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/gabime/spdlog"
|
|
distfiles="https://github.com/gabime/spdlog/archive/v${version}.tar.gz"
|
|
checksum=697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
configure_args+=" -DSPDLOG_BUILD_TESTS_HO=ON"
|
|
fi
|
|
|
|
libspdlog_package() {
|
|
short_desc+=" - libraries"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vlicense LICENSE
|
|
}
|
|
}
|