summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/msgpack/Manifest1
-rw-r--r--dev-libs/msgpack/msgpack-0.6.0_pre20150220.ebuild26
-rw-r--r--dev-libs/msgpack/msgpack-9999.ebuild18
3 files changed, 40 insertions, 5 deletions
diff --git a/dev-libs/msgpack/Manifest b/dev-libs/msgpack/Manifest
new file mode 100644
index 0000000..c446a59
--- /dev/null
+++ b/dev-libs/msgpack/Manifest
@@ -0,0 +1 @@
+DIST msgpack-0.6.0_pre20150220.tar.gz 165400 SHA256 799fd9b2c7023b79568a516f1a5389f610919d35880205fe44e400a025f05766 SHA512 0ecc079cfa5ae69839b77f07856d37a7547df785235152d6f8d5c6d1ac28829593a5cd2c37c770db037053b5a14f8dbfe5ee6072644ba1c319012af5aa0fc031 WHIRLPOOL 0d9faaee9674b0a8d9a444741adc95fa0621ed70c46423c2e276308556efcf23b50e4b11a4c619b27f5341ac3c3e72412f33968235af3725d83717c32a70b08e
diff --git a/dev-libs/msgpack/msgpack-0.6.0_pre20150220.ebuild b/dev-libs/msgpack/msgpack-0.6.0_pre20150220.ebuild
new file mode 100644
index 0000000..3497fef
--- /dev/null
+++ b/dev-libs/msgpack/msgpack-0.6.0_pre20150220.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit cmake-utils
+
+DESCRIPTION="MessagePack is a binary-based efficient data interchange format"
+HOMEPAGE="http://msgpack.org/ https://github.com/msgpack/msgpack-c/"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}-c.git"
+ KEYWORDS=""
+else
+ inherit vcs-snapshot
+ COMMIT="f6d0cd9a4ba46f4341014a199e3d352fad76b215"
+ SRC_URI="https://github.com/${PN}/${PN}-c/tarball/${COMMIT} -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="static-libs test"
+
+DEPEND="test? ( >=dev-cpp/gtest-1.6.0-r2 )"
+DOCS=( CHANGELOG.md QUICKSTART-C.md QUICKSTART-CPP.md README.md CROSSLANG.md )
diff --git a/dev-libs/msgpack/msgpack-9999.ebuild b/dev-libs/msgpack/msgpack-9999.ebuild
index cd13056..3497fef 100644
--- a/dev-libs/msgpack/msgpack-9999.ebuild
+++ b/dev-libs/msgpack/msgpack-9999.ebuild
@@ -1,17 +1,25 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/msgpack/msgpack-0.5.9.ebuild,v 1.1 2014/07/09 04:54:50 radhermit Exp $
+# $Header: $
EAPI=5
-inherit cmake-utils git-r3
+inherit cmake-utils
DESCRIPTION="MessagePack is a binary-based efficient data interchange format"
HOMEPAGE="http://msgpack.org/ https://github.com/msgpack/msgpack-c/"
-EGIT_REPO_URI="https://github.com/${PN}/${PN}-c.git"
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/${PN}/${PN}-c.git"
+ KEYWORDS=""
+else
+ inherit vcs-snapshot
+ COMMIT="f6d0cd9a4ba46f4341014a199e3d352fad76b215"
+ SRC_URI="https://github.com/${PN}/${PN}-c/tarball/${COMMIT} -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS=""
IUSE="static-libs test"
DEPEND="test? ( >=dev-cpp/gtest-1.6.0-r2 )"