/[gentoo-x86]/net-nds/yp-tools/yp-tools-2.7.ebuild
Gentoo

Contents of /net-nds/yp-tools/yp-tools-2.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.16 - (show annotations) (download)
Mon Nov 22 18:49:17 2004 UTC (15 years, 2 months ago) by eradicator
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +1 -1 lines
FILE REMOVED
Cleanup old versions.

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/yp-tools-2.7.ebuild,v 1.15 2004/07/01 22:38:05 eradicator Exp $
4
5 DESCRIPTION="NIS Tools"
6 HOMEPAGE="http://www.linux-nis.org/nis/"
7 SRC_URI="mirror://kernel/linux/utils/net/NIS/${P}.tar.bz2"
8
9 LICENSE="GPL-2"
10 SLOT="0"
11 KEYWORDS="x86 ppc sparc alpha"
12 IUSE="nls"
13
14 DEPEND="virtual/libc"
15
16 src_compile() {
17 local myconf="--sysconfdir=/etc/yp"
18 use nls || myconf="${myconf} --disable-nls"
19 econf ${myconf} || die
20 make || die
21 }
22
23 src_install() {
24 make DESTDIR=${D} install || die
25 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
26 insinto /etc/yp ; doins etc/nicknames
27 # This messes up boot so we remove it
28 rm -d ${D}/bin/ypdomainname
29 rm -d ${D}/bin/nisdomainname
30 rm -d ${D}/bin/domainname
31 }

  ViewVC Help
Powered by ViewVC 1.1.20