/[gentoo-x86]/net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild
Gentoo

Contents of /net-misc/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Jan 18 20:10:56 2011 UTC (3 years, 6 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +11 -9 lines
Punt IUSE=xinetd since we don't check it #351853 by Dean Matzkov.  Update to EAPI=2 in the process.

(Portage version: 2.2.0_alpha13/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/netkit-fingerd/netkit-fingerd-0.17-r3.ebuild,v 1.3 2010/10/18 07:24:17 leio Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 MY_PN="${PN/netkit/bsd}"
10 MY_PN="${MY_PN/rd/r}"
11 DESCRIPTION="Netkit - fingerd and finger client"
12 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
13 SRC_URI="mirror://debian/pool/main/b/${MY_PN}/${MY_PN}_${PV}.orig.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
18 IUSE=""
19
20 S=${WORKDIR}/${MY_PN}-${PV}
21
22 src_prepare() {
23 sed -i \
24 -e '/^LDFLAGS=$/d' \
25 -e '/CFLAGS/s:-O2::' \
26 configure
27 epatch "${FILESDIR}"/${P}-r2-gentoo.diff
28 epatch "${FILESDIR}"/${P}-name-check.patch #80286
29 }
30
31 src_configure() {
32 tc-export CC
33 if tc-is-cross-compiler; then
34 touch MCONFIG
35 else
36 ./configure || die
37 fi
38 }
39
40 src_compile() {
41 emake CC="${CC}" || die
42 }
43
44 src_install() {
45 dobin finger/finger || die
46 dosbin fingerd/fingerd || die
47 dosym fingerd /usr/sbin/in.fingerd
48 doman finger/finger.1 fingerd/fingerd.8
49 dosym fingerd.8 /usr/share/man/man8/in.fingerd.8
50 dodoc README ChangeLog BUGS
51
52 insinto /etc/xinetd.d
53 newins "${FILESDIR}"/fingerd.xinetd fingerd || die
54 }

  ViewVC Help
Powered by ViewVC 1.1.20