void-packages/srcpkgs/yaml-cpp/template
Nathan Owens 23f6b53d14 yaml-cpp: Disable build tests
Disable build test or causes conflict
with gtest package in repo. Closes #17111

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-05 13:14:08 +01:00

28 lines
771 B
Bash

# Template file for 'yaml-cpp'
pkgname=yaml-cpp
version=0.6.2
revision=2
wrksrc="${pkgname}-${pkgname}-${version}"
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DYAML_CPP_BUILD_TOOLS=OFF
-DYAML_CPP_BUILD_TESTS=OFF"
short_desc="YAML parser and emitter in C++"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://github.com/jbeder/yaml-cpp"
distfiles="https://github.com/jbeder/${pkgname}/archive/yaml-cpp-${version}.tar.gz"
checksum=e4d8560e163c3d875fd5d9e5542b5fd5bec810febdcba61481fe5fc4e6b1fd05
post_install() {
vlicense LICENSE
}
yaml-cpp-devel_package() {
depends="yaml-cpp-${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}