diff options
Diffstat (limited to 'net-misc/clockspeed/clockspeed-0.62-r3.ebuild')
-rw-r--r-- | net-misc/clockspeed/clockspeed-0.62-r3.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-misc/clockspeed/clockspeed-0.62-r3.ebuild b/net-misc/clockspeed/clockspeed-0.62-r3.ebuild new file mode 100644 index 000000000000..47e4f94c529a --- /dev/null +++ b/net-misc/clockspeed/clockspeed-0.62-r3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/clockspeed/clockspeed-0.62-r3.ebuild,v 1.1 2003/12/12 00:07:46 vapier Exp $ + +inherit eutils + +DESCRIPTION="A simple Network Time Protocol (NTP) client" +HOMEPAGE="http://cr.yp.to/clockspeed.html" +SRC_URI="http://cr.yp.to/clockspeed/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86 ppc sparc" +IUSE="static" + +DEPEND="sys-apps/groff" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PV}-gentoo.patch + sed -i "s:@CFLAGS@:${CFLAGS}:" conf-cc + use static && LDFLAGS="${LDFLAGS} -static" + sed -i "s:@LDFLAGS@:${LDFLAGS}:" conf-ld +} + +src_compile() { + emake || die +} + +src_install() { + dobin clockspeed clockadd clockview sntpclock taiclock taiclockd + dosbin ${FILESDIR}/ntpclockset + + doman clockspeed.1 clockadd.1 clockview.1 sntpclock.1 taiclock.1 taiclockd.1 + dodoc BLURB CHANGES README THANKS TODO + + insinto /var/lib/clockspeed + doins leapsecs.dat +} |