2019-09-01 10:20:30 +00:00
|
|
|
# Description: Fast C++ logging library
|
|
|
|
# URL: https://github.com/gabime/spdlog
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2020-05-17 00:53:50 +00:00
|
|
|
# Depends on: fmt cmake ninja
|
2019-09-01 10:20:30 +00:00
|
|
|
|
|
|
|
name=spdlog
|
2020-05-17 00:53:50 +00:00
|
|
|
version=1.6.0
|
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 10:20:30 +00:00
|
|
|
|
|
|
|
build() {
|
2020-05-17 00:53:50 +00: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 10:20:30 +00:00
|
|
|
}
|