You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/utimer/utimer-0.4-r1.ebuild

33 lines
667 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
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
}