2019-09-01 12:20:30 +02:00
|
|
|
# Description: Fast C++ logging library
|
|
|
|
# URL: https://github.com/gabime/spdlog
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-05-27 00:59:51 +02:00
|
|
|
# Depends on: cmake fmt ninja
|
2019-09-01 12:20:30 +02:00
|
|
|
|
|
|
|
name=spdlog
|
2020-05-27 00:59:51 +02:00
|
|
|
version=1.6.1
|
2020-01-13 20:35:08 +01:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/gabime/spdlog/archive/v$version/$name-$version.tar.gz)
|
2019-09-01 12:20:30 +02:00
|
|
|
|
|
|
|
build() {
|
2020-05-17 02:53:50 +02:00
|
|
|
cmake -S$name-$version -Bbuild -G Ninja \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
|
|
cmake --build build
|
|
|
|
DESTDIR=$PKG cmake --build build --target install
|
2019-09-01 12:20:30 +02:00
|
|
|
}
|