void-packages/srcpkgs/msgpack/template

28 lines
821 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=3.2.1
revision=1
wrksrc="msgpack-c-cpp-${version}"
build_style=cmake
makedepends="zlib-devel"
checkdepends="gtest-devel"
short_desc="Binary-based efficient object serialization library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://msgpack.org/"
changelog="https://raw.githubusercontent.com/msgpack/msgpack-c/master/CHANGELOG.md"
distfiles="https://github.com/msgpack/msgpack-c/archive/cpp-${version}.tar.gz"
checksum=464f46744a6be778626d11452c4db3c2d09461080c6db42e358e21af19d542f6
msgpack-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
}
}