New package: msgpack-0.5.9.

This commit is contained in:
Juan RP 2014-09-15 23:50:58 +02:00
parent e47296d6bf
commit d040a8e9a6
3 changed files with 31 additions and 0 deletions

View file

@ -1741,3 +1741,4 @@ libnetfilter_log.so.1 libnetfilter_log-1.0.1_1
libnetfilter_log_libipulog.so.1 libnetfilter_log-1.0.1_1 libnetfilter_log_libipulog.so.1 libnetfilter_log-1.0.1_1
libnetfilter_acct.so.1 libnetfilter_acct-1.0.2_1 libnetfilter_acct.so.1 libnetfilter_acct-1.0.2_1
libnetfilter_conntrack.so.3 libnetfilter_conntrack-1.0.4_1 libnetfilter_conntrack.so.3 libnetfilter_conntrack-1.0.4_1
libmsgpack.so.3 msgpack-0.5.9_1

1
srcpkgs/msgpack-devel Symbolic link
View file

@ -0,0 +1 @@
msgpack

29
srcpkgs/msgpack/template Normal file
View file

@ -0,0 +1,29 @@
# 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
}
}