/[gentoo-x86]/net-misc/ntpclient/ntpclient-2007.365.ebuild
Gentoo

Contents of /net-misc/ntpclient/ntpclient-2007.365.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Thu Jul 30 20:07:32 2009 UTC (10 years, 6 months ago) by solar
Branch: MAIN
Changes since 1.3: +2 -1 lines
 install a few docs. bug 279693
(Portage version: 2.1.6.11/cvs/Linux x86_64)

1 solar 1.3 # Copyright 2008-2009 Gentoo Foundation
2 solar 1.1 # Distributed under the terms of the GNU General Public License v2
3 solar 1.4 # $Header: /var/cvsroot/gentoo-x86/net-misc/ntpclient/ntpclient-2007.365.ebuild,v 1.3 2009/01/14 18:18:41 solar Exp $
4 solar 1.1
5     inherit eutils flag-o-matic toolchain-funcs
6    
7     DESCRIPTION="A NTP (RFC-1305) client for unix-alike computers."
8     HOMEPAGE="http://doolittle.icarus.com/~larry/"
9     SRC_URI="http://doolittle.icarus.com/${PN}/${PN}_${PV/./_}.tar.gz"
10    
11     LICENSE="GPL-2"
12     SLOT="0"
13     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
14     IUSE=""
15    
16     RDEPEND=""
17     DEPEND=""
18    
19     S="${WORKDIR}/${PN}-2007"
20    
21     src_unpack() {
22     unpack ${A}
23     cd "${S}"
24     sed -i -e s/'-O2'// Makefile
25 flameeyes 1.2 sed -i -e 's/LDFLAGS +=/LDLIBS +=/' Makefile
26 solar 1.3 sed -i -e s/__adjtimex/adjtimex/g ntpclient.c
27 solar 1.1 }
28    
29     src_compile() {
30     tc-export CC
31     emake || die "emake failed in src_compile"
32     }
33    
34     src_install() {
35     dodir /usr/bin
36     dobin ntpclient
37 solar 1.4 dodoc README HOWTO rate.awk rate2.awk
38 solar 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20