/[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.4 - (show annotations) (download)
Fri Jul 15 18:56:25 2005 UTC (14 years, 7 months ago) by killerfox
Branch: MAIN
Changes since 1.3: +2 -2 lines
Stable on hppa
(Portage version: 2.0.51.19)

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/chrony/chrony-1.20-r1.ebuild,v 1.3 2005/05/05 22:31:41 hansmi 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="hppa ~mips ~ppc ~sparc ~x86"
14 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