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/clockywock/clockywock-0.2.3f.ebuild

40 lines
789 B

# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/clockywock/clockywock-0.2.3f.ebuild,v 1.5 2011/12/18 20:16:17 phajdan.jr Exp $
EAPI="4"
inherit eutils toolchain-funcs
MY_P=${P/f/F}
DESCRIPTION="ncurses based analog clock"
HOMEPAGE="http://dentar.com/open-source"
SRC_URI="https://dentar.com/opensource/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND="sys-libs/ncurses"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
sed -i 's:\<timex\>:timecw:g' clockywock.cpp || die #371383
}
src_compile() {
tc-export CXX
emake || die
}
src_install() {
dobin ${PN}
doman ${PN}.7
dodoc README CREDITS
}