# Template file for 'cpp-hocon'
pkgname=cpp-hocon
version=0.3.0
revision=8
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
hostmakedepends="pkg-config"
makedepends="boost-devel leatherman-devel libcurl-devel"
short_desc="C++ port of the Typesafe Config library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/puppetlabs/cpp-hocon/"
distfiles="https://github.com/puppetlabs/cpp-hocon/archive/${version}.tar.gz"
checksum=dab02354046f05aca6275c746d7583ee5f71853aa5b1d93529564632e184c3dd

cpp-hocon-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.so"
	}
}
