Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/icecream/
Date: Sat, 26 Aug 2017 13:37:10
Message-Id: 1503754615.b3c8bfdfbd712d01523a3cdefb59f9653f0a9c62.mgorny@gentoo
1 commit: b3c8bfdfbd712d01523a3cdefb59f9653f0a9c62
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 10 20:05:28 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 26 13:36:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3c8bfdf
7
8 sys-devel/icecream: Convert to EAPI=6
9
10 sys-devel/icecream/icecream-1.0.0-r2.ebuild | 51 +++++++++++++++++++++++++++++
11 1 file changed, 51 insertions(+)
12
13 diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
14 new file mode 100644
15 index 00000000000..ec2858a94ac
16 --- /dev/null
17 +++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild
18 @@ -0,0 +1,51 @@
19 +# Copyright 1999-2017 Gentoo Foundation
20 +# Distributed under the terms of the GNU General Public License v2
21 +
22 +EAPI=6
23 +
24 +MY_P="${P/icecream/icecc}"
25 +
26 +inherit user
27 +
28 +DESCRIPTION="icecc is a program for distributed compiling of C(++) code across several machines; based on distcc"
29 +HOMEPAGE="https://github.com/icecc/icecream"
30 +SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
35 +IUSE=""
36 +
37 +RDEPEND="
38 + sys-libs/libcap-ng
39 +"
40 +DEPEND="${RDEPEND}"
41 +
42 +S="${WORKDIR}/${MY_P}"
43 +
44 +PATCHES=(
45 + "${FILESDIR}/${P}-libcap-ng.patch"
46 +)
47 +
48 +pkg_setup() {
49 + enewgroup icecream
50 + enewuser icecream -1 -1 /var/cache/icecream icecream
51 +}
52 +
53 +src_configure() {
54 + econf \
55 + --enable-shared --disable-static \
56 + --enable-clang-wrappers \
57 + --enable-clang-rewrite-includes
58 +}
59 +
60 +src_install() {
61 + default
62 + find "${D}" -name '*.la' -delete || die
63 +
64 + newconfd suse/sysconfig.icecream icecream
65 + newinitd "${FILESDIR}"/icecream-r2 icecream
66 +
67 + insinto /etc/logrotate.d
68 + newins suse/logrotate icecream
69 +}