Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68 - revised ntp ebuild script for ntp 4.1.72
Summary: revised ntp ebuild script for ntp 4.1.72
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Damon Conway (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2002-01-07 09:17 UTC by ali asad lotia
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ali asad lotia 2002-01-07 09:17:06 UTC
complete script follows

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Terry Chan <tchan@enteract.com> revised by Ali Asad Lotia <lotia@umich.edu>
# /space/gentoo/cvsroot/gentoo-x86/net-misc/ntp/ntp-4.1.72.ebuild,v 1.1
2001/10/10 20:11:29 woodchip Exp
S=${WORKDIR}/${P}
DESCRIPTION="Network Time Protocol suite/programs"
SRC_URI="http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/${P}.tar.gz"
HOMEPAGE="http://www.ntp.org/"
 
DEPEND="virtual/glibc
 >=sys-libs/ncurses-5.2
 >=sys-libs/readline-4.1"
 
src_compile() {
cp configure configure.orig
sed -e "s:-Wpointer-arith::" configure.orig > configure
LDFLAGS="$LDFLAGS -lncurses"

./configure --prefix=/usr --mandir=/usr/share/man \
--host=${CHOST} --build=${CHOST} || die
 
emake || die
}
 
src_install () {
make prefix=${D}/usr mandir=${D}/usr/share/man install || die
 
dodoc ChangeLog INSTALL NEWS README TODO WHERE-TO-START
insinto /usr/share/doc/${PF}/html ; doins html/*.htm
insinto /usr/share/doc/${PF}/html/hints ; doins html/hints/*
insinto /usr/share/doc/${PF}/html/pic ; doins html/pic/*
 
insinto /usr/share/ntp ; doins scripts/*
 
exeinto /etc/init.d ; newexe ${FILESDIR}/ntpd.rc6 ntpd
}
Comment 1 Mikael Hallendal (hallski) (RETIRED) gentoo-dev 2002-01-07 10:50:44 UTC
moved to Server and tagged.
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2002-01-07 12:54:30 UTC
Added to portage.  In the future, please send a patch instead of the entire ebuild.