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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Jul 17 02:53:35 2002 UTC (17 years, 6 months ago) by seemant
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
repoman'd

1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License, v2 or later
3 # $Header: /home/cvsroot/gentoo-x86/net-nds/yp-tools/yp-tools-2.6.ebuild,v 1.3 2002/07/11 06:30:49 drobbins Exp $
4
5 S=${WORKDIR}/${P}
6 DESCRIPTION="NIS Tools"
7 SRC_URI="ftp://ftp.de.kernel.org/pub/linux/utils/net/NIS/${P}.tar.bz2
8 ftp://ftp.uk.kernel.org/pub/linux/utils/net/NIS/${P}.tar.bz2
9 ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.bz2"
10 HOMEPAGE="http://www.linux-nis.org/nis"
11 LICENSE="GPL-2"
12
13 DEPEND="virtual/glibc"
14
15
16 src_compile() {
17 local myconf
18
19 myconf="--sysconfdir=/etc/yp"
20 use nls || myconf="${myconf} --disable-nls"
21
22 econf ${myconf} || die
23 make || die
24 }
25
26 src_install() {
27 make DESTDIR=${D} install || die
28 dodoc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
29 insinto /etc/yp
30 doins etc/nicknames
31 # This messes up boot so we remove it
32 rm -d ${D}/bin/ypdomainname
33 rm -d ${D}/bin/nisdomainname
34 rm -d ${D}/bin/domainname
35 }

  ViewVC Help
Powered by ViewVC 1.1.20