app-misc/utimer: EAPI 6 bump.
authorPatrice Clement <monsieurp@gentoo.org>
Mon, 26 Dec 2016 20:15:35 +0000 (21:15 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 27 Dec 2016 00:05:36 +0000 (01:05 +0100)
Package-Manager: portage-2.3.0

app-misc/utimer/utimer-0.4-r1.ebuild [new file with mode: 0644]

diff --git a/app-misc/utimer/utimer-0.4-r1.ebuild b/app-misc/utimer/utimer-0.4-r1.ebuild
new file mode 100644 (file)
index 0000000..2c4144a
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+EAPI=6
+
+DESCRIPTION="A command line timer and stopwatch"
+HOMEPAGE="http://utimer.codealpha.net/utimer"
+SRC_URI="http://utimer.codealpha.net/dl.php?file=${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug nls"
+
+DEPEND="
+       dev-libs/glib:2
+       dev-util/intltool"
+
+RDEPEND="${RDEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS README )
+
+src_configure() {
+       local myconf=( --enable-debug=no )
+       use debug || myconf=( --enable-debug=yes )
+       econf "${myconf[@]}" $(use_enable nls)
+}
+
+src_install() {
+       emake install DESTDIR="${D}"
+       einstalldocs
+}