/[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.3 - (show annotations) (download)
Wed Jan 14 18:18:41 2009 UTC (11 years, 1 month ago) by solar
Branch: MAIN
Changes since 1.2: +3 -2 lines
- do not use hidden symbol __adjtimex directly ; bug 254952
(Portage version: 2.1.6.4/cvs/Linux 2.6.23-hardened-r7 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.2 2008/11/16 16:39:36 flameeyes 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 }

  ViewVC Help
Powered by ViewVC 1.1.20