29 lines
788 B
Bash
29 lines
788 B
Bash
# Template file for 'yaml-cpp'
|
|
pkgname=yaml-cpp
|
|
version=0.5.3
|
|
revision=1
|
|
wrksrc=${pkgname}-release-${version}
|
|
build_style=cmake
|
|
configure_args="-DBUILD_SHARED_LIBS=ON -DYAML_CPP_BUILD_TOOLS=OFF"
|
|
hostmakedepends="cmake"
|
|
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=ac50a27a201d16dc69a881b80ad39a7be66c4d755eda1f76c3a68781b922af8f
|
|
|
|
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"
|
|
}
|
|
}
|