Gentoo Archives: gentoo-commits

From: Amy Liffey <amynka@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/away/
Date: Fri, 11 Aug 2017 21:12:38
Message-Id: 1502485918.99ba4dbeb1a0ad95e7c9483c4720fdc633c96d68.amynka@gentoo
1 commit: 99ba4dbeb1a0ad95e7c9483c4720fdc633c96d68
2 Author: Amy Liffey <amynka <AT> gentoo <DOT> org>
3 AuthorDate: Fri Aug 11 21:11:58 2017 +0000
4 Commit: Amy Liffey <amynka <AT> gentoo <DOT> org>
5 CommitDate: Fri Aug 11 21:11:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99ba4dbe
7
8 app-misc/away: EAPI 6 bump
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.1
11
12 app-misc/away/away-0.9.5-r2.ebuild | 41 ++++++++++++++++++++++++++++++++++++++
13 1 file changed, 41 insertions(+)
14
15 diff --git a/app-misc/away/away-0.9.5-r2.ebuild b/app-misc/away/away-0.9.5-r2.ebuild
16 new file mode 100644
17 index 00000000000..ed55ee02ece
18 --- /dev/null
19 +++ b/app-misc/away/away-0.9.5-r2.ebuild
20 @@ -0,0 +1,41 @@
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 pam toolchain-funcs flag-o-matic
27 +
28 +DESCRIPTION="Terminal locking program with few additional features"
29 +HOMEPAGE="http://unbeatenpath.net/software/away/"
30 +SRC_URI="http://unbeatenpath.net/software/away/${P}.tar.bz2"
31 +
32 +LICENSE="GPL-2"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
35 +IUSE=""
36 +
37 +RDEPEND=">=sys-libs/pam-0.75"
38 +DEPEND="${RDEPEND}"
39 +
40 +src_prepare() {
41 + default
42 + sed -i -e '/-o \$(BINARY)/d' \
43 + -e 's:LIBS:LDLIBS:' \
44 + "${S}"/Makefile || die "Makefile fix failed"
45 +
46 +}
47 +
48 +src_compile() {
49 + append-flags -pthread
50 +
51 + emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
52 +}
53 +
54 +src_install() {
55 + dobin away
56 +
57 + pamd_mimic_system away auth
58 +
59 + doman doc/*
60 + dodoc BUGS AUTHORS NEWS README TODO data/awayrc
61 +}