summaryrefslogtreecommitdiff
blob: f9bdac0a060675a25939912bf11d252fcd8a3ef7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-fs/idmapd/idmapd-1.5.ebuild,v 1.1 2004/06/08 15:09:19 vapier Exp $

inherit eutils

DESCRIPTION="NFSv4 ID <-> name mapping daemon"
HOMEPAGE="http://www.citi.umich.edu/projects/nfsv4/nfsv4-linux/"
SRC_URI="http://www.citi.umich.edu/projects/nfsv4/nfsv4-linux/idmapd/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="dev-libs/libevent"

src_unpack() {
	unpack ${A}
	cd ${S}
	rm -rf libevent-0.6/*
	echo 'all:'$'\n''install:' > libevent-0.6/Makefile
	sed -i "s:-g \$(AM_CFLAGS) -Ilibevent-0\.6:@CFLAGS@:" Makefile.in
	epatch ${FILESDIR}/${PV}-no-string.patch
}

src_install() {
	make install DESTDIR=${D} || die
}