From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-969163-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 4E20A1396D0
	for <garchives@archives.gentoo.org>; Sat, 26 Aug 2017 13:37:10 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 3598AE0CEB;
	Sat, 26 Aug 2017 13:37:07 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 13531E0CEB
	for <gentoo-commits@lists.gentoo.org>; Sat, 26 Aug 2017 13:37:07 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 35A1934172D
	for <gentoo-commits@lists.gentoo.org>; Sat, 26 Aug 2017 13:37:06 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 35BF48357
	for <gentoo-commits@lists.gentoo.org>; Sat, 26 Aug 2017 13:37:03 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1503754615.b3c8bfdfbd712d01523a3cdefb59f9653f0a9c62.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-devel/icecream/icecream-1.0.0-r2.ebuild
X-VCS-Directories: sys-devel/icecream/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: b3c8bfdfbd712d01523a3cdefb59f9653f0a9c62
X-VCS-Branch: master
Date: Sat, 26 Aug 2017 13:37:03 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 3b023786-17a9-4db9-a486-3976199f89b6
X-Archives-Hash: 6f194f336398cfb0785611c9a0eea429

commit:     b3c8bfdfbd712d01523a3cdefb59f9653f0a9c62
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 10 20:05:28 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 26 13:36:55 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c8bfdf

sys-devel/icecream: Convert to EAPI=6

 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 51 +++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
new file mode 100644
index 00000000000..ec2858a94ac
--- /dev/null
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${P/icecream/icecc}"
+
+inherit user
+
+DESCRIPTION="icecc is a program for distributed compiling of C(++) code across several machines; based on distcc"
+HOMEPAGE="https://github.com/icecc/icecream"
+SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="
+	sys-libs/libcap-ng
+"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+	"${FILESDIR}/${P}-libcap-ng.patch"
+)
+
+pkg_setup() {
+	enewgroup icecream
+	enewuser icecream -1 -1 /var/cache/icecream icecream
+}
+
+src_configure() {
+	econf \
+		--enable-shared --disable-static \
+		--enable-clang-wrappers \
+		--enable-clang-rewrite-includes
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+
+	newconfd suse/sysconfig.icecream icecream
+	newinitd "${FILESDIR}"/icecream-r2 icecream
+
+	insinto /etc/logrotate.d
+	newins suse/logrotate icecream
+}