summaryrefslogtreecommitdiff
blob: 88070c18024869b7244c748a800fcfc68a444771 (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
30
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit perl-module

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

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

RDEPEND="
	>=dev-libs/nspr-4.0.1
	>=dev-libs/nss-3.11.6
	net-nds/openldap
"
DEPEND="${RDEPEND}
"
BDEPEND="${RDEPEND}
	sys-apps/sed
"

src_configure() {
	export USE_OPENLDAP=1
	perl-module_src_configure
}