summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild')
-rw-r--r--net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild44
1 files changed, 21 insertions, 23 deletions
diff --git a/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild b/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild
index 85b0d8edeb37..f299d8f61be2 100644
--- a/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild
+++ b/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild
@@ -1,44 +1,42 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild,v 1.6 2004/07/01 21:33:11 squinky86 Exp $
-
-inherit eutils
+# $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-talk/netkit-talk-0.17-r3.ebuild,v 1.1 2003/04/03 18:20:38 mholzer Exp $
MY_P=netkit-ntalk-${PV}
S=${WORKDIR}/netkit-ntalk-${PV}
-IUSE=""
DESCRIPTION="Netkit - talkd"
-HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz"
-
+HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
+KEYWORDS="x86 ppc sparc alpha mips"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="x86 ppc sparc alpha mips"
-DEPEND="virtual/libc
+DEPEND="virtual/glibc
>=sys-libs/ncurses-5.2"
src_unpack() {
- unpack ${A}
- epatch ${FILESDIR}/${PF}-gentoo.diff
+ unpack ${A}
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
- ./configure || die
- cp MCONFIG MCONFIG.orig
- sed -e "s:-O2 -Wall:-Wall:" -e "s:-Wpointer-arith::" MCONFIG.orig > MCONFIG
- make || die
+ try ./configure
+ cp MCONFIG MCONFIG.orig
+ sed -e "s:-O2 -Wall:-Wall:" -e "s:-Wpointer-arith::" MCONFIG.orig > MCONFIG
+ try make
}
-src_install() {
+src_install() {
insinto /etc/xinetd.d
- newins ${FILESDIR}/talk.xinetd talk
+ newins ${FILESDIR}/talk.xinetd talk
into /usr
- dobin talk/talk
- doman talk/talk.1
+ dobin talk/talk
+ doman talk/talk.1
dosbin talkd/talkd
- dosym talkd /usr/sbin/in.talkd
- doman talkd/talkd.8
- dosym talkd.8.gz /usr/share/man/man8/in.talkd.8.gz
- dodoc README ChangeLog BUGS
+ dosym talkd /usr/sbin/in.talkd
+ doman talkd/talkd.8
+ dosym talkd.8.gz /usr/share/man/man8/in.talkd.8.gz
+ dodoc README ChangeLog BUGS
}
+
+