void-packages/srcpkgs/msgpack/template
2018-09-09 12:29:39 -03:00

27 lines
824 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=3.1.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="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=bda49f996a73d2c6080ff0523e7b535917cd28c8a79c3a5da54fc29332d61d1e
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
}
}