blob: 49ce8316d54a5a6a10bb61dd847feff44a5fb937 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nds/nis-utils/nis-utils-1.4.1-r2.ebuild,v 1.2 2006/12/02 23:44:43 beandog Exp $
inherit eutils
DESCRIPTION="NIS+ utilities"
HOMEPAGE="http://www.linux-nis.org/"
SRC_URI="mirror://kernel/linux/utils/net/NIS+/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ppc sparc x86"
IUSE="nls"
DEPEND="dev-libs/gmp"
RESTRICT="test"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${PN}-gmp-fixes.patch"
}
src_compile() {
econf $(use_enable nls) || die "Configure failed"
emake || die "Make Failed"
}
src_install() {
make DESTDIR="${D}" install || die "Install Failed"
mv "${D}"/usr/etc "${D}"/
dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
newinitd "${FILESDIR}"/keyserv.rc keyserv
}
|