blob: 98c8278b741960af9bd7d8a9653941a637c8c380 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jldap/jldap-20060300.ebuild,v 1.1 2006/09/11 14:15:55 nelchael Exp $
inherit java-pkg-2 java-ant-2
DESCRIPTION="The LDAP Class Libraries for Java (JLDAP) enable you to write applications to access, manage, update, and search for information stored in directories accessible using LDAPv3."
HOMEPAGE="http://www.openldap.org/jldap/"
SRC_URI="mirror://gentoo/jldap-Mar_ndk_2006-gentoo.tar.bz2"
LICENSE="OPENLDAP"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc source"
RDEPEND=">=virtual/jre-1.4
=dev-java/commons-httpclient-2.0*
dev-java/openspml
dev-java/openspml2"
DEPEND=">=virtual/jdk-1.4
${REDEND}
>=dev-java/ant-core-1.5.1"
S="${WORKDIR}/openldap-${PN}"
src_unpack() {
unpack "${A}"
cd "${S}"
epatch "${FILESDIR}/200603-javac.xml.patch"
}
src_compile() {
java-ant_bsfix_one "${S}/javac.xml"
mkdir "${S}/ext"
cd "${S}/ext"
java-pkg_jar-from commons-httpclient
java-pkg_jar-from openspml
java-pkg_jar-from openspml2
cd "${S}"
local antflags="release"
use doc && antflags="${antflags} doc"
eant ${antflags}
}
src_install() {
dodoc README
dodoc README.dsml
java-pkg_dojar lib/ldap.jar
if use doc; then
dohtml *.html
dodoc design/*
java-pkg_dohtml -r doc/*
fi
use source && java-pkg_dosrc org com
}
|