blob: b88e4a800e90d1253b6ee6d6bab6ae98850e2ef8 (
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
31
32
33
34
35
36
37
38
39
40
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit multilib autotools eutils
DESCRIPTION="Mozilla LDAP C SDK"
HOMEPAGE="http://wiki.mozilla.org/LDAP_C_SDK"
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/directory/svrcore/releases/"${PV}"/src/"${P}".tar.bz2"
LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=">=dev-libs/nss-3.11
>=dev-libs/nspr-4.6"
RDEPEND="${DEPEND}"
src_prepare() {
epatch "${FILESDIR}"/"${P}"-gentoo.patch
eautoreconf
}
src_configure() {
econf --with-pic || die "cannot configure"
}
src_install () {
default
# cope with libraries being in /usr/lib/svrcore
echo "LDPATH=/usr/$(get_libdir)/svrcore" > 08svrcore
dodir /etc/env.d
doenvd 08svrcore
dodoc ChangeLog INSTALL NEWS TODO README AUTHORS
}
|