/[gentoo-x86]/net-libs/libnfsidmap/libnfsidmap-0.23-r1.ebuild
Gentoo

Contents of /net-libs/libnfsidmap/libnfsidmap-0.23-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon May 21 19:13:27 2012 UTC (2 years, 3 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Add missing inheritance of eutils.eclass

(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libnfsidmap/libnfsidmap-0.23-r1.ebuild,v 1.1 2010/09/14 12:32:22 vapier Exp $
4
5 EAPI="2"
6
7 inherit autotools eutils
8
9 DESCRIPTION="NFSv4 ID <-> name mapping library"
10 HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/linux/"
11 SRC_URI="http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
16 IUSE="ldap"
17
18 DEPEND="ldap? ( net-nds/openldap )"
19 RDEPEND="${DEPEND}
20 !<net-fs/nfs-utils-1.2.2
21 !net-fs/idmapd"
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${PN}-0.19-getgrouplist.patch #169909
25 epatch "${FILESDIR}"/${PN}-0.21-headers.patch
26 eautoreconf
27 }
28
29 src_configure() {
30 econf \
31 --disable-dependency-tracking \
32 $(use_enable ldap)
33 }
34
35 src_install() {
36 emake install DESTDIR="${D}" || die
37 dodoc AUTHORS ChangeLog NEWS README
38
39 insinto /etc
40 doins idmapd.conf || die
41
42 # remove useless files
43 rm "${D}"/usr/lib*/libnfsidmap/*.{a,la} || die
44 }

  ViewVC Help
Powered by ViewVC 1.1.20