From 8e92fcc175d4c07fc165d8e24fe30a3f44a29770 Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Wed, 31 Aug 2016 15:28:42 -0600 Subject: [PATCH] dev-libs/cereal: initial commit Package-Manager: portage-2.2.28 --- dev-libs/cereal/Manifest | 1 + dev-libs/cereal/cereal-1.2.1.ebuild | 30 +++++++++++++++++++++++++++++ dev-libs/cereal/metadata.xml | 8 ++++++++ 3 files changed, 39 insertions(+) create mode 100644 dev-libs/cereal/Manifest create mode 100644 dev-libs/cereal/cereal-1.2.1.ebuild create mode 100644 dev-libs/cereal/metadata.xml diff --git a/dev-libs/cereal/Manifest b/dev-libs/cereal/Manifest new file mode 100644 index 0000000000000..bceff899914a6 --- /dev/null +++ b/dev-libs/cereal/Manifest @@ -0,0 +1 @@ +DIST cereal-1.2.1.tar.gz 301994 SHA256 7d321c22ea1280b47ddb06f3e9702fcdbb2910ff2f3df0a2554804210714434e SHA512 f0050f27433a4b544e7785aa94fc7b14a57eed6d542e25d3d0fda4d27cf55ea55e796be2138bf80809c96c392436513fe42764b3a456938395bf7f7177dd1c73 WHIRLPOOL d17573dc44b4cf610b4dd0d295f414a58bea39729537f2cabb2ebbba4ba6e899df1f5a43f8959b9afa55a0b1123ec53cf61eabe8c6dcd534619caaf567f6b1b8 diff --git a/dev-libs/cereal/cereal-1.2.1.ebuild b/dev-libs/cereal/cereal-1.2.1.ebuild new file mode 100644 index 0000000000000..662f699e11a74 --- /dev/null +++ b/dev-libs/cereal/cereal-1.2.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="header-only C++11 serialization library" +HOMEPAGE="http://uscilab.github.io/cereal/" +SRC_URI="https://github.com/USCiLab/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND="test? ( dev-libs/boost )" + +src_prepare() { + sed -i 's/-Werror//' CMakeLists.txt || die + default +} + +src_configure() { + mycmakeargs=( + -DJUST_INSTALL_CEREAL=$(usex !test) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/cereal/metadata.xml b/dev-libs/cereal/metadata.xml new file mode 100644 index 0000000000000..9dee8db117244 --- /dev/null +++ b/dev-libs/cereal/metadata.xml @@ -0,0 +1,8 @@ + + + + + ottxor@gentoo.org + Christoph Junghans + +