29 lines
771 B
Bash
29 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"
|
|
}
|
|
}
|