void-packages/srcpkgs/cpp-hocon/template

18 lines
622 B
Bash

# Template file for 'cpp-hocon'
pkgname=cpp-hocon
version=0.1.7
revision=2
build_style=cmake
hostmakedepends="pkg-config"
makedepends="boost-devel leatherman libcurl-devel"
short_desc="C++ port of the Typesafe Config library"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="Apache-2.0"
homepage="https://github.com/puppetlabs/cpp-hocon"
distfiles="https://github.com/puppetlabs/cpp-hocon/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=1d771de9342e74115a27355c80a81a510c7851cb1269bac1dd2582c84425652c
if [ "$XBPS_GCC_VERSION_MAJOR" -ge 8 ]; then
CXXFLAGS+=" -Wno-catch-value"
fi