void-packages/srcpkgs/msgpack/template

28 lines
848 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=3.0.1
revision=1
wrksrc="msgpack-${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/releases/download/cpp-${version}/msgpack-${version}.tar.gz"
checksum=9859d44d336f9b023a79a3026bb6a558b2ea346107ab4eadba58236048650690
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
}
}