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-26 22:59:51 +00:00
|
|
|
# Depends on: cmake fmt ninja
|
2019-09-01 10:20:30 +00:00
|
|
|
|
|
|
|
name=spdlog
|
2020-09-30 15:07:30 +00:00
|
|
|
version=1.8.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 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
|
2020-07-08 13:01:36 +00:00
|
|
|
DESTDIR=$PKG cmake --install build
|
2019-09-01 10:20:30 +00:00
|
|
|
}
|