From d040a8e9a6cd5034914e2f5b36cb4aed040e32b6 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 15 Sep 2014 23:50:58 +0200 Subject: [PATCH] New package: msgpack-0.5.9. --- common/shlibs | 1 + srcpkgs/msgpack-devel | 1 + srcpkgs/msgpack/template | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+) create mode 120000 srcpkgs/msgpack-devel create mode 100644 srcpkgs/msgpack/template diff --git a/common/shlibs b/common/shlibs index e2754f46d0..3167c35a14 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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_acct.so.1 libnetfilter_acct-1.0.2_1 libnetfilter_conntrack.so.3 libnetfilter_conntrack-1.0.4_1 +libmsgpack.so.3 msgpack-0.5.9_1 diff --git a/srcpkgs/msgpack-devel b/srcpkgs/msgpack-devel new file mode 120000 index 0000000000..b3ae8a0157 --- /dev/null +++ b/srcpkgs/msgpack-devel @@ -0,0 +1 @@ +msgpack \ No newline at end of file diff --git a/srcpkgs/msgpack/template b/srcpkgs/msgpack/template new file mode 100644 index 0000000000..0bc5fa19e8 --- /dev/null +++ b/srcpkgs/msgpack/template @@ -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 " +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 + } +}