diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2005-12-08 13:07:53 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2005-12-08 13:07:53 +0000 |
commit | 9017adb01406ad2a6bbf5c973735f5bb931147bb (patch) | |
tree | fffe72cbf4dc40f9abc2b35bb62d6d10d5ff31c9 /dev-java/jldap/jldap-20051000.ebuild | |
parent | rename xen:cflags to xen:custom-cflags in line with mplayer, grub... (diff) | |
download | gentoo-2-9017adb01406ad2a6bbf5c973735f5bb931147bb.tar.gz gentoo-2-9017adb01406ad2a6bbf5c973735f5bb931147bb.tar.bz2 gentoo-2-9017adb01406ad2a6bbf5c973735f5bb931147bb.zip |
Version bump to resolve bug #90650. This version adds optional support for dsml connection support. The cvs tag used was Oct_ndk_2005.
(Portage version: 2.0.53)
Diffstat (limited to 'dev-java/jldap/jldap-20051000.ebuild')
-rw-r--r-- | dev-java/jldap/jldap-20051000.ebuild | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/dev-java/jldap/jldap-20051000.ebuild b/dev-java/jldap/jldap-20051000.ebuild new file mode 100644 index 000000000000..69182535fae2 --- /dev/null +++ b/dev-java/jldap/jldap-20051000.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jldap/jldap-20051000.ebuild,v 1.1 2005/12/08 13:07:53 betelgeuse Exp $ + +inherit base java-pkg + +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-Oct_ndk_2005-gentoo.tar.bz2" + +LICENSE="OPENLDAP" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="debug doc dsml jikes" + +RDEPEND=">=virtual/jre-1.4 + dsml? ( =dev-java/commons-httpclient-2.0* )" +DEPEND=">=virtual/jdk-1.4 + ${REDEND} + >=dev-java/ant-core-1.5.1 + jikes? ( dev-java/jikes )" + +S=${WORKDIR}/${PN} + +PATCHES="${FILESDIR}/200510-javac.xml.patch" + +src_compile() { + # TODO + # sgml support needs opensgml which is not packaged yet. + if use debug; then + local antflags="debug" + else + local antflags="release" + fi + + use dsml && antflags="${antflags} -lib $(java-pkg_getjars commons-httpclient)" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} doc" + ant ${antflags} || die "Failed to run ant." +} + +src_install() { + dodoc README + use dsml && dodoc README.dsml + + if use debug; then + java-pkg_dojar lib_debug/*.jar + else + java-pkg_dojar lib/*.jar + fi + + if use doc; then + dohtml *.html + dodoc design/* + java-pkg_dohtml -r doc/* + fi +} |