blob: 9a19f8ff13144ec2c6b3872572054b1e586bc2e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# /home/cvsroot/gentoo-x86/net-misc/rdate,v 1.2 2001/02/15 18:17:31 achim Exp
# $Header: /var/cvsroot/gentoo-x86/net-misc/rdate/rdate-990821-r1.ebuild,v 1.4 2003/02/13 15:05:16 vapier Exp $
inherit flag-o-matic
IUSE="ipv6"
DESCRIPTION="rdate uses the NTP server of your choice to syncronize/show the current time"
SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/network/misc/${P}.tar.gz"
HOMEPAGE="http://www.freshmeat.net/projects/rdate"
SLOT="0"
KEYWORDS="~x86 ~ppc ~sparc ~alpha"
LICENSE="GPL-2"
DEPEND="sys-apps/supersed"
src_install(){
use ipv6 && append-flags "-DINET6"
ssed -i "s/^\(CFLAGS = \).*/\1${CFLAGS}/" Makefile
dodir /usr/{bin,share/man/man1}
make DESTDIR=${D} install || die "Failed to install rdate"
dodoc README.linux
}
|