void-packages/srcpkgs/msgpack/template

26 lines
726 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=2.1.3
revision=1
wrksrc="msgpack-${version}"
build_style=cmake
makedepends="zlib-devel"
short_desc="Binary-based efficient object serialization library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Apache-2.0"
homepage="http://msgpack.org/"
distfiles="https://github.com/$pkgname/$pkgname-c/releases/download/cpp-$version/$pkgname-$version.tar.gz"
checksum=beaac1209f33276b5a75e7a02f8689ed44b97209cef82ba0909e06f0c45f6cae
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
}
}