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

Contents of /net-nds/yp-tools/yp-tools-2.4-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


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

1 seemant 1.1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License, v2 or later
3 seemant 1.4 # $Header: /home/cvsroot/gentoo-x86/net-nds/yp-tools/yp-tools-2.4-r3.ebuild,v 1.3 2002/07/11 06:30:49 drobbins Exp $
4 seemant 1.1
5     S=${WORKDIR}/${P}
6     DESCRIPTION="NIS Tools"
7     SRC_URI="ftp://ftp.de.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz
8     ftp://ftp.uk.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz
9     ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.gz"
10     HOMEPAGE="http://www.suse.de/~kukuk/nis/yp-tools/index.html"
11 aliz 1.2 LICENSE="GPL-2"
12 seemant 1.1
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