summaryrefslogtreecommitdiff
blob: c4579b57f1a1f11bc3ea31614439a0b18a689f5b (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/clockywock/clockywock-0.2.3.ebuild,v 1.5 2010/03/26 20:36:34 ssuominen Exp $

inherit toolchain-funcs

DESCRIPTION="ncurses analog clock"
HOMEPAGE="http://www.soomka.com"
SRC_URI="http://www.soomka.com/${P}.tar.gz"

LICENSE="GPL-2 as-is"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

DEPEND="sys-libs/ncurses"

src_compile() {
	$(tc-getCXX) ${LDFLAGS} ${CXXFLAGS} -Wall -o ${PN} ${PN}.cpp -lncurses -lpthread || die
}

src_install() {
	dobin ${PN} || die
	dodoc README
}