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

Contents of /net-libs/libnfsidmap/libnfsidmap-0.24.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon May 21 19:13:27 2012 UTC (2 years, 1 month ago) by xarthisius
Branch: MAIN
Changes since 1.6: +2 -2 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.24.ebuild,v 1.6 2012/02/04 19:00:36 armin76 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 static-libs"
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 static-libs static) \
33 $(use_enable ldap)
34 }
35
36 src_install() {
37 emake install DESTDIR="${D}" || die
38 dodoc AUTHORS ChangeLog NEWS README
39
40 insinto /etc
41 doins idmapd.conf || die
42
43 # remove useless files
44 rm -f "${D}"/usr/lib*/libnfsidmap/*.{a,la}
45 use static-libs || rm -f "${D}"/usr/lib*/*.la
46 }

  ViewVC Help
Powered by ViewVC 1.1.20