void-packages/srcpkgs/msgpack/template
2016-05-27 20:58:33 +02:00

25 lines
725 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=1.4.2
revision=1
wrksrc="msgpack-${version}"
build_style=gnu-configure
hostmakedepends="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=c0f1da8462ea44b23f89573eff04a1f329bcff6fd80eb0d4b976d7f19caf1fa2
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
}
}