void-packages/srcpkgs/msgpack/template
2017-02-06 15:17:08 +01:00

24 lines
693 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=2.1.1
revision=1
wrksrc="msgpack-${version}"
build_style=cmake
makedepends="zlib-devel"
short_desc="An efficient binary serialization format"
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=fce702408f0d228a1b9dcab69590d6a94d3938f694b95c9e5e6249617e98d83f
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/pkgconfig
}
}