void-packages/srcpkgs/msgpack/template
2016-03-06 17:16:27 +01:00

25 lines
725 B
Bash

# Template file for 'msgpack'
pkgname=msgpack
version=1.4.1
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=8ac512f52b30572f0244d6f521847ef3c54a59097dc05b479ac282bf1374f22e
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
}
}