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

Contents of /net-misc/chrony/chrony-1.20-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Sat Oct 23 12:10:35 2004 UTC (15 years, 3 months ago) by wmertens
Branch: MAIN
Changes since 1.1: +2 -2 lines
Oops, accidentally marked 1.20-r1 stable for sparc. Fixed.

1 wmertens 1.1 # Copyright 1999-2004 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 wmertens 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/chrony-1.20-r1.ebuild,v 1.1 2004/10/23 12:01:42 wmertens Exp $
4 wmertens 1.1
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 wmertens 1.2 KEYWORDS="~x86 ~mips ~sparc ~ppc"
14 wmertens 1.1 IUSE="readline"
15    
16     DEPEND="virtual/libc
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     # Allow Hz=200 detection (#21058, Alexander Papaspyrou)
25     epatch ${FILESDIR}/${P}-sys_linux.c-gentoo.diff
26     }
27    
28     src_compile() {
29     econf `use_enable readline` || die
30     emake all docs || die
31     }
32    
33     src_install() {
34     # the chrony install is brain-dead so we'll just do it ourselves
35     dobin chronyc
36     dosbin chronyd
37    
38     dodoc chrony.txt README examples/chrony.{conf,keys}.example
39     dohtml chrony.html
40     doman *.{1,5,8}
41     doinfo chrony.info*
42    
43     dodir /etc/chrony
44     exeinto /etc/init.d ; newexe ${FILESDIR}/chronyd.rc chronyd
45     insinto /etc/conf.d ; newins ${FILESDIR}/chronyd.conf chronyd
46     dosed "s:the documentation directory:/usr/share/doc/${PF}/:" /etc/init.d/chronyd
47     }

  ViewVC Help
Powered by ViewVC 1.1.20