diff options
author | 2010-01-21 08:28:51 +0900 | |
---|---|---|
committer | 2010-01-21 08:28:51 +0900 | |
commit | 0deafffd65c0ce5aecb0ec549f57f11e9b20ea56 (patch) | |
tree | 885c423ad340953818c3f495a7b37c8deadbf44f | |
parent | dev-util/gtest: Initial import. (diff) | |
download | matsuu-0deafffd65c0ce5aecb0ec549f57f11e9b20ea56.tar.gz matsuu-0deafffd65c0ce5aecb0ec549f57f11e9b20ea56.tar.bz2 matsuu-0deafffd65c0ce5aecb0ec549f57f11e9b20ea56.zip |
dev-libs/msgpack: Version bumped. Added test USE flag.
-rw-r--r-- | dev-libs/msgpack/Manifest | 3 | ||||
-rw-r--r-- | dev-libs/msgpack/files/msgpack-0.4.1-test.patch | 32 | ||||
-rw-r--r-- | dev-libs/msgpack/msgpack-0.4.1.ebuild | 28 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-libs/msgpack/Manifest b/dev-libs/msgpack/Manifest index ddc009a..e323b24 100644 --- a/dev-libs/msgpack/Manifest +++ b/dev-libs/msgpack/Manifest @@ -1,2 +1,5 @@ +AUX msgpack-0.4.1-test.patch 1239 RMD160 a48fafed78cb3a7623677e57bfc13d31298097c4 SHA1 fcd94ea46019341b57a7347004d89359de42026d SHA256 089c8c71a4002abed7aefb31ee2ac77ba5e0ab7d72977ee25582b3393282a873 DIST msgpack-0.4.0.tar.gz 371398 RMD160 700b2f5d052afdb65386076d3de21e2c1bc7039f SHA1 19507fc99dead5030bb21681411010db4d3b84f2 SHA256 ef19e48d8ab10c60a4addd27fc5422773811a309840a80b2423a60793b3e18be +DIST msgpack-0.4.1.tar.gz 373940 RMD160 99724750627cf5ceed933d45b137fc86040ae3ba SHA1 3f2330244370b4a1db46ead6a9c1c70b46233e44 SHA256 440fd33cf97365572515072e8e94412155458fef88497c936136f9d9f176494b EBUILD msgpack-0.4.0.ebuild 462 RMD160 589261a7a7bc4309cf81721d8e784bc14d44ae79 SHA1 be494fe645852e7857c06876d75cf46d65531f22 SHA256 f27f7404eab2ffaed621843943be3fa3983b5be8578803769b8b19d99e2a1505 +EBUILD msgpack-0.4.1.ebuild 606 RMD160 2b2e023cbc17853e27a11d428c96d85ece2e3518 SHA1 da47432a7e29bbe2419cb81ef5cccd3908a2efa0 SHA256 1bd057a3f0ffb37ba4b9a5fe07df48fb73f01aae0eab00db29c32ee8d59f1b3a diff --git a/dev-libs/msgpack/files/msgpack-0.4.1-test.patch b/dev-libs/msgpack/files/msgpack-0.4.1-test.patch new file mode 100644 index 0000000..e47f971 --- /dev/null +++ b/dev-libs/msgpack/files/msgpack-0.4.1-test.patch @@ -0,0 +1,32 @@ +diff -Naur msgpack-0.4.1.orig/cpp/Makefile.am msgpack-0.4.1/cpp/Makefile.am +--- msgpack-0.4.1.orig/cpp/Makefile.am 2010-01-15 04:26:40.000000000 +0900 ++++ msgpack-0.4.1/cpp/Makefile.am 2010-01-20 17:40:42.000000000 +0900 +@@ -39,6 +39,6 @@ + + msgpack_test_SOURCES = test.cpp + msgpack_test_CXXFLAGS = -I$(top_srcdir) -I$(top_srcdir)/c -I$(top_srcdir)/cpp +-msgpack_test_LDFLAGS = libmsgpack.la -lgtest_main ++msgpack_test_LDADD = libmsgpack.la -lgtest_main + + TESTS = $(check_PROGRAMS) +diff -Naur msgpack-0.4.1.orig/cpp/test.cpp msgpack-0.4.1/cpp/test.cpp +--- msgpack-0.4.1.orig/cpp/test.cpp 2010-01-20 14:24:34.000000000 +0900 ++++ msgpack-0.4.1/cpp/test.cpp 2010-01-20 17:28:49.000000000 +0900 +@@ -438,7 +438,7 @@ + + #ifdef HAVE_TR1_UNORDERED_MAP + #include <tr1/unordered_map> +-#include "cpp/type/tr1/unordered_map.hpp" ++#include "cpp/msgpack/type/tr1/unordered_map.hpp" + TEST(MSGPACK_TR1, simple_buffer_unordered_map) + { + for (unsigned int k = 0; k < kLoop; k++) { +@@ -499,7 +499,7 @@ + + #ifdef HAVE_TR1_UNORDERED_SET + #include <tr1/unordered_set> +-#include "cpp/type/tr1/unordered_set.hpp" ++#include "cpp/msgpack/type/tr1/unordered_set.hpp" + TEST(MSGPACK_TR1, simple_buffer_unordered_set) + { + for (unsigned int k = 0; k < kLoop; k++) { diff --git a/dev-libs/msgpack/msgpack-0.4.1.ebuild b/dev-libs/msgpack/msgpack-0.4.1.ebuild new file mode 100644 index 0000000..b3518d0 --- /dev/null +++ b/dev-libs/msgpack/msgpack-0.4.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="2" +inherit autotools eutils + +DESCRIPTION="MessagePack is a binary-based efficient data interchange format" +HOMEPAGE="http://msgpack.sourceforge.jp/" +SRC_URI="mirror://sourceforge.jp/${PN}/45536/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="test? ( dev-util/gtest )" + +src_prepare() { + epatch "${FILESDIR}/${P}-test.patch" + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die + + dodoc AUTHORS ChangeLog NEWS README || die +} |