forked from ports/contrib
cpptoml: initial commit, version 0.1.1
This commit is contained in:
parent
7a0ef31b5b
commit
8d4d8f38b4
9
cpptoml/.footprint
Normal file
9
cpptoml/.footprint
Normal 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
5
cpptoml/.signature
Normal 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
20
cpptoml/Pkgfile
Normal 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
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user