void-packages/srcpkgs/msgpack/template

28 lines
821 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=3.2.0
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=ff865a36bad5c72b8e7ebc4b7cf5f27a820fce4faff9c571c1791e3728355a39
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
}
}