diff options
author | 2015-02-20 04:22:30 +0800 | |
---|---|---|
committer | 2015-02-20 04:22:30 +0800 | |
commit | 422515dd5435e5b6bef3b60f871e0d7fc830fda4 (patch) | |
tree | dde70ac4413e532801daec2b4301407326566e1a /dev-libs/msgpack/msgpack-9999.ebuild | |
parent | dev-libs/msgpack: update with upstream changes (diff) | |
download | yngwin-422515dd5435e5b6bef3b60f871e0d7fc830fda4.tar.gz yngwin-422515dd5435e5b6bef3b60f871e0d7fc830fda4.tar.bz2 yngwin-422515dd5435e5b6bef3b60f871e0d7fc830fda4.zip |
dev-libs/msgpack: add snapshot
Diffstat (limited to 'dev-libs/msgpack/msgpack-9999.ebuild')
-rw-r--r-- | dev-libs/msgpack/msgpack-9999.ebuild | 18 |
1 files changed, 13 insertions, 5 deletions
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 )" |