/[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.2 - (show annotations) (download)
Sun Nov 16 16:39:36 2008 UTC (11 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.1: +2 -2 lines
Fix for --as-needed rather than filtering it out wrongly.
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64)

1 # Copyright 2008-2008 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.1 2008/06/22 06:36:02 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 }
27
28 src_compile() {
29 tc-export CC
30 emake || die "emake failed in src_compile"
31 }
32
33 src_install() {
34 dodir /usr/bin
35 dobin ntpclient
36 }

  ViewVC Help
Powered by ViewVC 1.1.20