/[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.5 - (show annotations) (download)
Fri Jun 8 13:55:26 2012 UTC (7 years, 7 months ago) by pacho
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Drop maintainer from metadata as talked with him.

(Portage version: 2.1.10.65/cvs/Linux x86_64)

1 # Copyright 2008-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ntpclient/ntpclient-2007.365.ebuild,v 1.4 2009/07/30 20:07:32 solar Exp $
4
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 sed -i -e 's/LDFLAGS +=/LDLIBS +=/' Makefile
26 sed -i -e s/__adjtimex/adjtimex/g ntpclient.c
27 }
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 dodoc README HOWTO rate.awk rate2.awk
38 }

  ViewVC Help
Powered by ViewVC 1.1.20