void-packages/srcpkgs/yaml-cpp/template
2018-07-21 07:46:35 +02:00

28 lines
764 B
Bash

# Template file for 'yaml-cpp'
pkgname=yaml-cpp
version=0.5.3
revision=3
wrksrc=${pkgname}-release-${version}
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON -DYAML_CPP_BUILD_TOOLS=OFF"
makedepends="boost-devel"
short_desc="A YAML parser and emitter in C++"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="https://github.com/jbeder/yaml-cpp"
distfiles="https://github.com/jbeder/${pkgname}/archive/release-${version}.tar.gz"
checksum=3492d9c1f4319dfd5588f60caed7cec3f030f7984386c11ed4b39f8e3316d763
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"
}
}