30 lines
809 B
Plaintext
30 lines
809 B
Plaintext
# Template file for 'msgpack'
|
|
pkgname=msgpack
|
|
version=0.5.9
|
|
revision=2
|
|
wrksrc="msgpack-${version}"
|
|
build_style=gnu-configure
|
|
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/$pkgname/$pkgname-c/releases/download/cpp-$version/$pkgname-$version.tar.gz"
|
|
checksum=6139614b4142df3773d74e9d9a4dbb6dd0430103cfa7b083e723cde0ec1e7fdd
|
|
|
|
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
|
|
}
|
|
}
|