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

Diff of /net-nds/yp-tools/yp-tools-2.8-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2008 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/Attic/yp-tools-2.8-r1.ebuild,v 1.2 2005/08/11 18:26:19 eradicator Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-nds/yp-tools/Attic/yp-tools-2.8-r1.ebuild,v 1.3 2008/11/02 12:10:30 jmbsvicetto Exp $
4 4
5IUSE="nls" 5IUSE="nls"
6 6
7inherit eutils 7inherit eutils
8 8
16 16
17DEPEND="virtual/libc" 17DEPEND="virtual/libc"
18 18
19src_unpack() { 19src_unpack() {
20 unpack ${A} 20 unpack ${A}
21 cd ${S} 21 cd "${S}"
22 epatch ${FILESDIR}/${P}-bsd.patch 22 epatch "${FILESDIR}/${P}-bsd.patch"
23} 23}
24 24
25src_compile() { 25src_compile() {
26 local myconf="--sysconfdir=/etc/yp" 26 local myconf="--sysconfdir=/etc/yp"
27 if ! use nls 27 if ! use nls
41 econf ${myconf} || die "econf failed" 41 econf ${myconf} || die "econf failed"
42 make || die 42 make || die
43} 43}
44 44
45src_install() { 45src_install() {
46 make DESTDIR=${D} install || die 46 make DESTDIR="${D}" install || die
47 dodoc AUTHORS ChangeLog NEWS README THANKS TODO 47 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
48 insinto /etc/yp ; doins etc/nicknames 48 insinto /etc/yp ; doins etc/nicknames
49 # This messes up boot so we remove it 49 # This messes up boot so we remove it
50 rm -d ${D}/bin/ypdomainname 50 rm -d "${D}/bin/ypdomainname"
51 rm -d ${D}/bin/nisdomainname 51 rm -d "${D}/bin/nisdomainname"
52 rm -d ${D}/bin/domainname 52 rm -d "${D}/bin/domainname"
53} 53}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20