Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sel/
Date: Wed, 08 Mar 2017 22:50:03
Message-Id: 1489013310.e5cb93ff2e6417fcdc036c06ee385ec022d7bd7e.monsieurp@gentoo
1 commit: e5cb93ff2e6417fcdc036c06ee385ec022d7bd7e
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Sun Mar 5 15:37:51 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 8 22:48:30 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5cb93ff
7
8 dev-util/sel: EAPI 6 bump.
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 dev-util/sel/sel-0.08.4-r2.ebuild | 35 +++++++++++++++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/dev-util/sel/sel-0.08.4-r2.ebuild b/dev-util/sel/sel-0.08.4-r2.ebuild
16 new file mode 100644
17 index 00000000000..d858c06807b
18 --- /dev/null
19 +++ b/dev-util/sel/sel-0.08.4-r2.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="A filemanager for shell scripts"
29 +SRC_URI="http://www.rninet.de/darkstar/files/${P}.tar.gz"
30 +HOMEPAGE="http://www.rninet.de/darkstar/sel.html"
31 +
32 +SLOT="0"
33 +LICENSE="GPL-2"
34 +KEYWORDS="~amd64 ~ppc ~s390 ~sparc ~x86"
35 +
36 +RDEPEND="sys-libs/ncurses:0="
37 +
38 +DOCS=( "help.txt" README.GER whatsnew )
39 +
40 +src_prepare () {
41 + default
42 + sed -i \
43 + -e "s:/usr/local/share/sel/help\.txt:/usr/share/sel/help\.txt:" \
44 + "${PN}.c" || die 'sed failed'
45 +}
46 +
47 +src_compile() {
48 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDLIBS="-lncurses"
49 +}
50 +
51 +src_install () {
52 + dobin "${PN}"
53 + doman "${PN}.1"
54 + einstalldocs
55 +}