/[gentoo-x86]/net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild
Gentoo

Contents of /net-misc/netkit-rusers/netkit-rusers-0.17-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Dec 31 18:40:32 2010 UTC (3 years, 3 months ago) by jer
Branch: MAIN
CVS Tags: HEAD
Respect LDFLAGS (bug #337620), CC. Fix some includes. Remove empty DEPEND.

(Portage version: 2.2.0_alpha10/cvs/Linux i686)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/netkit-rusers/netkit-rusers-0.17.ebuild,v 1.4 2009/09/23 19:40:07 patrick Exp $
4
5 EAPI="2"
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="Netkit - rup rpc.rusersd rusers"
10 HOMEPAGE="http://www.hcs.harvard.edu/~dholland/computers/netkit.html"
11 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="BSD"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 src_prepare() {
19 epatch "${FILESDIR}"/${P}-include.patch
20 sed -i configure -e '/^LDFLAGS=/d' || die "sed configure"
21 }
22
23 src_configure() {
24 ./configure --with-c-compiler=$(tc-getCC) || die
25 sed -i MCONFIG -e "s:-O2::" -e "s:-Wpointer-arith::" || die "sed MCONFIG"
26 }
27
28 src_compile() {
29 # see bug #244867 for parallel make issues
30 emake -j1 || die
31 }
32
33 src_install() {
34 into /usr
35 dobin rup/rup
36 doman rup/rup.1
37 dobin rpc.rusersd/rusersd
38 doman rpc.rusersd/rpc.rusersd.8
39 dobin rusers/rusers
40 doman rusers/rusers.1
41 dodoc README ChangeLog
42 }

  ViewVC Help
Powered by ViewVC 1.1.20