void-packages/srcpkgs/yaml-cpp/template
beefcurtains 6eb78f9f33 yaml-cpp: include patch from upstream git
It was broken in some cases since 0.5.1
2015-06-11 15:01:22 +00:00

25 lines
718 B
Bash

# Template file for 'yaml-cpp'
pkgname=yaml-cpp
version=0.5.2
revision=2
wrksrc=${pkgname}-release-${version}
build_style=cmake
configure_args="-DBUILD_SHARED_LIBS=ON"
hostmakedepends="cmake"
makedepends="boost-devel"
short_desc="A YAML parser and emitter in C++"
maintainer="Duncaen <mail@duncano.de>"
license="MIT"
homepage="https://github.com/jbeder/yaml-cpp"
distfiles="https://github.com/jbeder/${pkgname}/archive/release-${version}.tar.gz"
checksum=6fb92f6f5925e0af918ffbb90acf19b7b88706ebcd40fc186b7caa76609b6350
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"
}
}