/[gentoo-x86]/net-misc/rdate/rdate-1.4-r3.ebuild
Gentoo

Contents of /net-misc/rdate/rdate-1.4-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.15 - (show annotations) (download)
Sun Apr 24 04:17:43 2011 UTC (8 years, 7 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +5 -5 lines
Respect env build settings.

(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/rdate-1.4-r3.ebuild,v 1.14 2010/10/18 16:54:29 leio Exp $
4
5 inherit flag-o-matic toolchain-funcs
6
7 DESCRIPTION="use TCP or UDP to retrieve the current time of another machine"
8 HOMEPAGE="http://www.apps.ietf.org/rfc/rfc868.html"
9 SRC_URI="ftp://people.redhat.com/sopwith/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
14 IUSE="ipv6"
15
16 DEPEND=""
17
18 src_compile() {
19 use ipv6 && append-cppflags "-DINET6"
20 emake RCFLAGS="${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" CC="$(tc-getCC)" || die
21 }
22
23 src_install(){
24 emake -j1 prefix="${D}/usr" install || die "make install failed"
25 newinitd "${FILESDIR}"/rdate-initd-1.4-r3 rdate
26 newconfd "${FILESDIR}"/rdate-confd rdate
27 }

  ViewVC Help
Powered by ViewVC 1.1.20