26 lines
826 B
Bash
26 lines
826 B
Bash
# Template file for 'msgpack'
|
|
pkgname=msgpack
|
|
version=6.1.0
|
|
revision=1
|
|
build_style=cmake
|
|
checkdepends="gtest-devel zlib-devel"
|
|
short_desc="Binary-based efficient object serialization library for C"
|
|
maintainer="Duncaen <duncaen@voidlinux.org>"
|
|
license="BSL-1.0"
|
|
homepage="https://github.com/msgpack/msgpack-c/tree/c_master"
|
|
changelog="https://github.com/msgpack/msgpack-c/raw/c_master/CHANGELOG.md"
|
|
distfiles="https://github.com/msgpack/msgpack-c/releases/download/c-${version}/msgpack-c-${version}.tar.gz"
|
|
checksum=674119f1a85b5f2ecc4c7d5c2859edf50c0b05e0c10aa0df85eefa2c8c14b796
|
|
|
|
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
|
|
}
|
|
}
|