contrib/spdlog/Pkgfile

23 lines
493 B
Plaintext

# Description: Fast C++ logging library
# URL: https://github.com/gabime/spdlog
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: fmt meson ninja
name=spdlog
version=1.4.2
release=1
source=(https://github.com/gabime/spdlog/archive/v$version/$name-$version.tar.gz)
build() {
cd $name-$version
mkdir build
cd build
meson .. \
--prefix=/usr \
-D external_fmt=true \
-D enable_examples=false \
-D library_type=static
ninja
DESTDIR=$PKG ninja install
}