/[gentoo-x86]/net-misc/netkit-talk/netkit-talk-0.17-r5.ebuild
Gentoo

Contents of /net-misc/netkit-talk/netkit-talk-0.17-r5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Oct 19 07:38:55 2014 UTC (5 years, 5 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +20 -8 lines
EAPI bump. Fix building against sys-libs/ncurses[tinfo] (bug #525796 by Reuben Martin).

(Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with key A792A613)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-talk/netkit-talk-0.17-r5.ebuild,v 1.6 2012/10/01 18:09:36 jer Exp $
4
5 EAPI=5
6
7 inherit eutils toolchain-funcs
8
9 MY_P=netkit-ntalk-${PV}
10 S=${WORKDIR}/netkit-ntalk-${PV}
11
12 DESCRIPTION="Netkit - talkd"
13 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
14 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${MY_P}.tar.gz"
15
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
19 IUSE="ipv6"
20
21 COMMON_DEPEND=">=sys-libs/ncurses-5.2"
22 DEPEND="
23 ${COMMON_DEPEND}
24 virtual/pkgconfig
25 "
26 RDEPEND="
27 ${COMMON_DEPEND}
28 virtual/inetd
29 "
30
31 src_prepare() {
32 epatch "${FILESDIR}"/${P}-time.patch
33 use ipv6 && epatch "${FILESDIR}"/${P}-ipv6.diff
34 sed -i configure -e '/^LDFLAGS=/d' || die
35 }
36
37 src_configure() {
38 # not autotools based?
39 ./configure --with-c-compiler=$(tc-getCC) || die
40 }
41
42 src_compile() {
43 emake LIBCURSES="$( $(tc-getPKG_CONFIG) --libs ncurses )"
44 }
45
46 src_install() {
47 insinto /etc/xinetd.d
48 newins "${FILESDIR}"/talk.xinetd talk
49 dobin talk/talk
50 doman talk/talk.1
51 dosbin talkd/talkd
52 dosym talkd /usr/sbin/in.talkd
53 doman talkd/talkd.8
54 dosym talkd.8 /usr/share/man/man8/in.talkd.8
55 dodoc README ChangeLog BUGS
56 }

  ViewVC Help
Powered by ViewVC 1.1.20