/[gentoo-x86]/net-misc/chrony/chrony-1.19.99.2.ebuild
Gentoo

Contents of /net-misc/chrony/chrony-1.19.99.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Jun 7 08:38:50 2004 UTC (15 years, 7 months ago) by wmertens
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
marking 1.20 stable and removing 1.19.99.2

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/net-misc/chrony/chrony-1.19.99.2.ebuild,v 1.4 2004/03/19 10:07:12 mr_bones_ Exp $
4
5 inherit eutils
6
7 DESCRIPTION="NTP client and server programs"
8 HOMEPAGE="http://chrony.sunsite.dk/"
9 SRC_URI="http://chrony.sunsite.dk/download/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="~x86 sparc"
14 IUSE="readline"
15
16 DEPEND="virtual/glibc
17 readline? ( >=sys-libs/readline-4.1-r4 )"
18
19 src_unpack() {
20 unpack ${A} ; cd ${S}
21
22 epatch ${FILESDIR}/${P}-conf.c-gentoo.diff
23 epatch ${FILESDIR}/${P}-chrony.conf.example-gentoo.diff
24 }
25
26 src_compile() {
27 econf `use_enable readline` || die
28 emake all docs || die
29 }
30
31 src_install() {
32 # the chrony install is brain-dead so we'll just do it ourselves
33 dobin chronyc
34 dosbin chronyd
35
36 dodoc chrony.txt README examples/chrony.{conf,keys}.example
37 dohtml chrony.html
38 doman *.{1,5,8}
39 doinfo chrony.info*
40
41 dodir /etc/chrony
42 exeinto /etc/init.d ; newexe ${FILESDIR}/chronyd.rc chronyd
43 insinto /etc/conf.d ; newins ${FILESDIR}/chronyd.conf chronyd
44 dosed "s:the documentation directory:/usr/share/doc/${PF}/:" /etc/init.d/chronyd
45 }

  ViewVC Help
Powered by ViewVC 1.1.20