nlohmann-json: adjust depends on line

This commit is contained in:
Tim Biermann 2022-01-03 14:28:17 +01:00
parent ede90c5df6
commit becff9e975
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 4 additions and 6 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF389ZyqiRNXGDwStCagHvkrKgU207QYaEFfn+mt49QrcFe395+5aiZNeA3r/zlOrGncRBYWvdjqPh1gAfv8IQEQ8=
SHA256 (Pkgfile) = f994e1a0ced323b2f6049215fbc80f51a4f4b82c9010d77843e06c15c5353cbe
RWSagIOpLGJF3+BesHLYAqoE2JgDNnVZQI4LwcXb2tSQXftBY5z/YDhmVTVXrBu9XXxcbtH0fPg0+/NbNY5Zft95+h76w9wWKgI=
SHA256 (Pkgfile) = 732210c6afa18877ce66dd34f0229fc99b27da3d38d7c6ace38098069505f227
SHA256 (.footprint) = 953f375f30e0113326c4cb165e478ab5ad00e3ee09911b0be04dd429dee9ce03
SHA256 (nlohmann-json-3.10.4.tar.gz) = 1155fd1a83049767360e9a120c43c578145db3204d2b309eba49fbbedd0f4ed3

View File

@ -1,8 +1,7 @@
# Description: JSON for Modern C++
# URL: https://github.com/nlohmann/json
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake
# Optional: ninja
# Depends on:
name=nlohmann-json
version=3.10.4
@ -10,8 +9,7 @@ release=1
source=(https://github.com/nlohmann/json/archive/v$version/$name-$version.tar.gz)
build() {
prt-get isinst ninja && PKGMK_NLJSON+=' -G Ninja'
cmake -S json-$version -B build $PKGMK_NLJSON \
cmake -S json-$version -B build -G Ninja \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib \
-D CMAKE_BUILD_TYPE=Release \