contrib/spdlog/Pkgfile

24 lines
521 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
2019-09-22 10:54:07 +02:00
# Depends on: fmt meson ninja
2019-09-01 12:20:30 +02:00
name=spdlog
2020-01-13 20:35:08 +01:00
version=1.5.0
release=1
source=(https://github.com/gabime/spdlog/archive/v$version/$name-$version.tar.gz)
2019-09-01 12:20:30 +02:00
build() {
cd $name-$version
mkdir build
cd build
2019-09-21 21:51:02 +02:00
meson .. \
--prefix=/usr \
-D external_fmt=true \
-D enable_examples=false \
2020-01-13 20:35:08 +01:00
-D library_type=static \
-D enable_tests=false
2019-09-21 21:51:02 +02:00
ninja
DESTDIR=$PKG ninja install
2019-09-01 12:20:30 +02:00
}