Skip to content

Commit

Permalink
dev-libs/cereal: initial commit
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
  • Loading branch information
junghans committed Aug 31, 2016
1 parent b91c250 commit 8e92fcc
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-libs/cereal/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST cereal-1.2.1.tar.gz 301994 SHA256 7d321c22ea1280b47ddb06f3e9702fcdbb2910ff2f3df0a2554804210714434e SHA512 f0050f27433a4b544e7785aa94fc7b14a57eed6d542e25d3d0fda4d27cf55ea55e796be2138bf80809c96c392436513fe42764b3a456938395bf7f7177dd1c73 WHIRLPOOL d17573dc44b4cf610b4dd0d295f414a58bea39729537f2cabb2ebbba4ba6e899df1f5a43f8959b9afa55a0b1123ec53cf61eabe8c6dcd534619caaf567f6b1b8
30 changes: 30 additions & 0 deletions dev-libs/cereal/cereal-1.2.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
8 changes: 8 additions & 0 deletions dev-libs/cereal/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Christoph Junghans</name>
</maintainer>
</pkgmetadata>

0 comments on commit 8e92fcc

Please sign in to comment.