void-packages/srcpkgs/msgpack/template

26 lines
826 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=4.0.0
revision=1
build_style=cmake
checkdepends="gtest-devel zlib-devel"
short_desc="Binary-based efficient object serialization library for C"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="BSL-1.0"
homepage="https://github.com/msgpack/msgpack-c/tree/c_master"
changelog="https://github.com/msgpack/msgpack-c/raw/c_master/CHANGELOG.md"
distfiles="https://github.com/msgpack/msgpack-c/releases/download/c-${version}/msgpack-c-${version}.tar.gz"
checksum=420fe35e7572f2a168d17e660ef981a589c9cbe77faa25eb34a520e1fcc032c8
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
}
}