contrib/spdlog/Pkgfile

18 lines
461 B
Plaintext
Raw Normal View History

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-07-10 00:24:32 +02:00
version=1.7.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 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
2020-07-08 15:01:36 +02:00
DESTDIR=$PKG cmake --install build
2019-09-01 12:20:30 +02:00
}