24 lines
521 B
Plaintext
24 lines
521 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.5.0
|
|
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 \
|
|
-D enable_tests=false
|
|
ninja
|
|
DESTDIR=$PKG ninja install
|
|
}
|