void-packages/srcpkgs/msgpack/template

28 lines
824 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=3.1.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="maxice8 <thinkabit.ukim@gmail.com>"
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=6d451d2ad6ffcd5073f56765a3a96a103a92cb148ab49f2f2e5d8db3d6676a54
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
}
}