1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit eutils toolchain-funcs
8 DESCRIPTION="Netkit - rup rpc.rusersd rusers"
9 HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
10 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
18 epatch "${FILESDIR}"/${P}-include.patch
19 sed -i configure -e '/^LDFLAGS=/d' || die "sed configure"
23 ./configure --with-c-compiler=$(tc-getCC) || die
24 sed -i MCONFIG -e "s:-O2::" -e "s:-Wpointer-arith::" || die "sed MCONFIG"
28 # see bug #244867 for parallel make issues
36 dobin rpc.rusersd/rusersd
37 doman rpc.rusersd/rpc.rusersd.8
40 dodoc README ChangeLog