Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/entr/
Date: Thu, 16 Nov 2017 21:55:41
Message-Id: 1510869319.a4547dee84c5874f0c49919dda4170ecca814bbb.monsieurp@gentoo
1 commit: a4547dee84c5874f0c49919dda4170ecca814bbb
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 16 21:53:48 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 16 21:55:19 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4547dee
7
8 app-admin/entr: export CC.
9
10 Package-Manager: Portage-2.3.13, Repoman-2.3.4
11
12 app-admin/entr/entr-3.9-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/app-admin/entr/entr-3.9-r1.ebuild b/app-admin/entr/entr-3.9-r1.ebuild
16 new file mode 100644
17 index 00000000000..ec8d53eb289
18 --- /dev/null
19 +++ b/app-admin/entr/entr-3.9-r1.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2017 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +inherit toolchain-funcs
27 +
28 +DESCRIPTION="Run arbitrary commands when files change"
29 +HOMEPAGE="http://entrproject.org"
30 +SRC_URI="http://entrproject.org/code/${P}.tar.gz"
31 +
32 +LICENSE="ISC"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
35 +IUSE="test"
36 +
37 +src_unpack() {
38 + unpack "${P}.tar.gz"
39 + mv eradman-* "${P}" || die
40 +}
41 +
42 +src_configure() {
43 + sh configure || die
44 + sed -i -e 's#\(^PREFIX \).*#\1\?= /usr#' Makefile.bsd || die
45 +}
46 +
47 +src_compile() {
48 + export CC=$(tc-getCC)
49 + default
50 +}
51 +
52 +src_test() {
53 + export CC=$(tc-getCC)
54 + default
55 +}