summaryrefslogtreecommitdiff
blob: 6422667b7f21d8d45a8201e4035ac259381436b7 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/perl-mozldap/perl-mozldap-1.5.2.ebuild,v 1.1 2010/07/07 13:59:42 lxnay Exp $

EAPI=2

inherit perl-module

DESCRIPTION="Mozilla PerLDAP"
HOMEPAGE="http://www.mozilla.org/directory/perldap.html"
SRC_URI="ftp://ftp.mozilla.org/pub/mozilla.org/directory/perldap/releases/${PV}/src/${P}.tar.gz"

LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-libs/nspr-4.0.1
	>=dev-libs/nss-3.11.6
	>=dev-libs/mozldap-6.0.1"
DEPEND="${RDEPEND}
	sys-apps/sed"

src_prepare () {
	sed -e "s!mozldap6!mozldap!g" -i Makefile.PL.rpm || die
	mv Makefile.PL.rpm Makefile.PL || die
	perl-module_src_prepare
}