35 lines
940 B
Bash
35 lines
940 B
Bash
# Template file for 'yaml-cpp'
|
|
pkgname=yaml-cpp
|
|
# yaml-cpp may break ABI even without changing the soname; when
|
|
# updating, test dependants to determine if revbumps are needed
|
|
version=0.7.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="
|
|
-DBUILD_SHARED_LIBS=ON
|
|
-DYAML_BUILD_SHARED_LIBS=ON
|
|
-DYAML_CPP_BUILD_TOOLS=OFF
|
|
-DYAML_CPP_BUILD_TESTS=OFF
|
|
-DCMAKE_INSTALL_DATADIR=lib"
|
|
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=43e6a9fcb146ad871515f0d0873947e5d497a1c9c60c58cb102a97b47208b7c3
|
|
|
|
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/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|