summaryrefslogtreecommitdiff
blob: 1c82ed02c30d0d151b6c967372befe578c73c348 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit vcs-snapshot toolchain-funcs eutils

DESCRIPTION="Analog clock in ncurses"
HOMEPAGE="https://github.com/xorg62/tty-clock"
GIT_COMMIT=4e6b4cae8aad23bd52ab17134ea32ef5619fcfb0
SRC_URI="https://github.com/xorg62/tty-clock/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

src_prepare() {
	tc-export CC
}

src_install() {
	emake \
		DESTDIR="${D}" \
		INSTALLPATH="/usr/bin/" \
		install
	dodoc README
}