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-misc/utimer/
Date: Tue, 27 Dec 2016 00:05:51
Message-Id: 1482797136.48ef9cb15b025ca7a99a17fda620f949099af4a3.monsieurp@gentoo
1 commit: 48ef9cb15b025ca7a99a17fda620f949099af4a3
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 26 20:15:35 2016 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 27 00:05:36 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ef9cb1
7
8 app-misc/utimer: EAPI 6 bump.
9
10 Package-Manager: portage-2.3.0
11
12 app-misc/utimer/utimer-0.4-r1.ebuild | 32 ++++++++++++++++++++++++++++++++
13 1 file changed, 32 insertions(+)
14
15 diff --git a/app-misc/utimer/utimer-0.4-r1.ebuild b/app-misc/utimer/utimer-0.4-r1.ebuild
16 new file mode 100644
17 index 00000000..2c4144a
18 --- /dev/null
19 +++ b/app-misc/utimer/utimer-0.4-r1.ebuild
20 @@ -0,0 +1,32 @@
21 +# Copyright 1999-2016 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +# $Id$
24 +EAPI=6
25 +
26 +DESCRIPTION="A command line timer and stopwatch"
27 +HOMEPAGE="http://utimer.codealpha.net/utimer"
28 +SRC_URI="http://utimer.codealpha.net/dl.php?file=${P}.tar.gz -> ${P}.tar.gz"
29 +
30 +LICENSE="GPL-2"
31 +SLOT="0"
32 +KEYWORDS="~amd64 ~x86"
33 +IUSE="debug nls"
34 +
35 +DEPEND="
36 + dev-libs/glib:2
37 + dev-util/intltool"
38 +
39 +RDEPEND="${RDEPEND}"
40 +
41 +DOCS=( AUTHORS ChangeLog NEWS README )
42 +
43 +src_configure() {
44 + local myconf=( --enable-debug=no )
45 + use debug || myconf=( --enable-debug=yes )
46 + econf "${myconf[@]}" $(use_enable nls)
47 +}
48 +
49 +src_install() {
50 + emake install DESTDIR="${D}"
51 + einstalldocs
52 +}