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

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

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

Revision 1.5 Revision 1.8
1# Copyright 1999-2004 Gentoo Technologies, Inc. 1# Copyright 1999-2004 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.ebuild,v 1.8 2004/06/25 00:24:14 agriffis Exp $
3 4
5DESCRIPTION="Network Information Service tools"
6HOMEPAGE="http://www.linux-nis.org/nis/"
7SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.bz2"
8
9LICENSE="GPL-2"
10SLOT="0"
11KEYWORDS="~x86 ~ppc ~sparc alpha ~amd64 ppc64 ~ia64"
4IUSE="nls" 12IUSE="nls"
5 13
6S=${WORKDIR}/${P}
7DESCRIPTION="Network Information Service tools"
8SRC_URI="ftp://ftp.kernel.org/pub/linux/utils/net/NIS/${P}.tar.bz2"
9HOMEPAGE="http://www.linux-nis.org/nis"
10
11SLOT="0"
12LICENSE="GPL-2"
13KEYWORDS="~x86 ~sparc ~alpha ~ppc ~amd64 ppc64 ~ia64"
14DEPEND="virtual/glibc" 14DEPEND="virtual/glibc"
15 15
16src_compile() { 16src_compile() {
17 local myconf="--sysconfdir=/etc/yp" 17 local myconf="--sysconfdir=/etc/yp"
18 if [ -z "`use nls`" ] 18 if ! use nls
19 then 19 then
20 myconf="${myconf} --disable-nls" 20 myconf="${myconf} --disable-nls"
21 mkdir intl 21 mkdir intl
22 touch intl/libintl.h 22 touch intl/libintl.h
23 export CPPFLAGS="${CPPFLAGS} -I${S}" 23 export CPPFLAGS="${CPPFLAGS} -I${S}"
33 make || die 33 make || die
34} 34}
35 35
36src_install() { 36src_install() {
37 make DESTDIR=${D} install || die 37 make DESTDIR=${D} install || die
38 dodoc AUTHORS ChangeLog COPYING NEWS README THANKS TODO 38 dodoc AUTHORS ChangeLog NEWS README THANKS TODO
39 insinto /etc/yp ; doins etc/nicknames 39 insinto /etc/yp ; doins etc/nicknames
40 # This messes up boot so we remove it 40 # This messes up boot so we remove it
41 rm -d ${D}/bin/ypdomainname 41 rm -d ${D}/bin/ypdomainname
42 rm -d ${D}/bin/nisdomainname 42 rm -d ${D}/bin/nisdomainname
43 rm -d ${D}/bin/domainname 43 rm -d ${D}/bin/domainname

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20