cpptoml: initial commit, version 0.1.1

This commit is contained in:
Tim Biermann 2021-01-21 13:25:30 +00:00
parent 7a0ef31b5b
commit 8d4d8f38b4
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 34 additions and 0 deletions

9
cpptoml/.footprint Normal file
View File

@ -0,0 +1,9 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/include/
-rw-r--r-- root/root usr/include/cpptoml.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/cpptoml/
-rw-r--r-- root/root usr/lib/cmake/cpptoml/cpptomlConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/cpptoml/cpptomlConfigVersion.cmake
-rw-r--r-- root/root usr/lib/cmake/cpptoml/cpptomlTargets.cmake

5
cpptoml/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35/M7U6ULYWoGHtgfW8y0AmrmFb2p0rCOEeZ2+pjpYxrFt2uPfzVSFgY3sMOLciqwf/4XE90D3yfPfaFQGEVEg4=
SHA256 (Pkgfile) = 6d8ac3b23d110e3bb2c02989874bd3d363cc4f979f9eeac0f7523465720a37e5
SHA256 (.footprint) = 45b3ea1446ce8d010435fc2427093930cd920cf30e1443dfe5c2a39990085e54
SHA256 (cpptoml-0.1.1.tar.gz) = 23af72468cfd4040984d46a0dd2a609538579c78ddc429d6b8fd7a10a6e24403

20
cpptoml/Pkgfile Normal file
View File

@ -0,0 +1,20 @@
# Description: cpptoml is a header-only library for parsing TOML
# URL: https://github.com/skystrife/cpptoml
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake
name=cpptoml
version=0.1.1
release=1
source=(https://github.com/skystrife/cpptoml/archive/v$version/$name-$version.tar.gz)
build() {
[[ -e /usr/bin/ninja ]] && PKGMK_CPPTOML+=' -G Ninja'
cmake -S $name-$version -B build $PKGMK_CPPTOML \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}