void-packages/srcpkgs/msgpack/template
2017-08-05 09:27:56 +00:00

25 lines
726 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=2.1.5
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=6126375af9b204611b9d9f154929f4f747e4599e6ae8443b337915dcf2899d2b
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
}
}