30 lines
779 B
Text
30 lines
779 B
Text
|
# Template file for 'msgpack'
|
||
|
pkgname=msgpack
|
||
|
version=0.5.9
|
||
|
revision=1
|
||
|
wrksrc="msgpack-c-cpp-${version}"
|
||
|
build_style=cmake
|
||
|
hostmakedepends="cmake"
|
||
|
makedepends="zlib-devel"
|
||
|
short_desc="An efficient binary serialization format"
|
||
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||
|
license="Apache-2.0"
|
||
|
homepage="http://msgpack.org/"
|
||
|
distfiles="https://github.com/msgpack/msgpack-c/archive/cpp-${version}.tar.gz"
|
||
|
checksum=f86bf09323770825cc1c8cc49790cd4eafef6e6f1c9e70cfb3f9159c3501c277
|
||
|
|
||
|
pre_configure() {
|
||
|
sed -i '/INSTALL/s,msgpack.pc,build/msgpack.pc,g' CMakeLists.txt
|
||
|
}
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|