diff options
author | Tim Biermann <tbier@posteo.de> | 2021-01-21 13:25:30 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-01-21 13:25:30 +0000 |
commit | 8d4d8f38b4f630d16c4c72881997281497ae376d (patch) | |
tree | b74391adc6a257f49d5277a9d9d28f1822737efc /cpptoml | |
parent | 7a0ef31b5bbe704287d9ba624c6e96f985c93d8a (diff) | |
download | contrib-8d4d8f38b4f630d16c4c72881997281497ae376d.tar.gz contrib-8d4d8f38b4f630d16c4c72881997281497ae376d.tar.xz |
cpptoml: initial commit, version 0.1.1
Diffstat (limited to 'cpptoml')
-rw-r--r-- | cpptoml/.footprint | 9 | ||||
-rw-r--r-- | cpptoml/.signature | 5 | ||||
-rw-r--r-- | cpptoml/Pkgfile | 20 |
3 files changed, 34 insertions, 0 deletions
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 +} |