void-packages/srcpkgs/yaml-cpp/template

26 lines
718 B
Bash
Raw Normal View History

# Template file for 'yaml-cpp'
pkgname=yaml-cpp
version=0.5.2
revision=1
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"
}
}