[crux-commits] ports/contrib (refs/remotes/origin/3.6): cpptoml: initial commit, version 0.1.1

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:02 UTC 2021


commit 8d4d8f38b4f630d16c4c72881997281497ae376d
Author: Tim Biermann <tbier at posteo.de>
Date:   Thu Jan 21 13:25:30 2021 +0000

    cpptoml: initial commit, version 0.1.1

diff --git a/cpptoml/.footprint b/cpptoml/.footprint
new file mode 100644
index 000000000..394d897bd
--- /dev/null
+++ b/cpptoml/.footprint
@@ -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
diff --git a/cpptoml/.signature b/cpptoml/.signature
new file mode 100644
index 000000000..a718216e6
--- /dev/null
+++ b/cpptoml/.signature
@@ -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
diff --git a/cpptoml/Pkgfile b/cpptoml/Pkgfile
new file mode 100644
index 000000000..ea904c795
--- /dev/null
+++ b/cpptoml/Pkgfile
@@ -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
+}


More information about the crux-commits mailing list