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
|
|
|
|
# Depends on: fmt
|
|
|
|
|
|
|
|
name=spdlog
|
2019-09-21 19:19:18 +02:00
|
|
|
version=1.4.0
|
2019-09-01 10:20:30 +00:00
|
|
|
release=1
|
|
|
|
source=(https://github.com/gabime/spdlog/archive/v$version/$name-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake .. \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-DSPDLOG_FMT_EXTERNAL=ON \
|
|
|
|
-DSPDLOG_BUILD_EXAMPLES=OFF \
|
|
|
|
-DSPDLOG_BUILD_BENCH=OFF \
|
|
|
|
-DSPDLOG_BUILD_TESTS=OFF
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
}
|