summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Thomson <wltjr@gentoo.org>2008-02-14 02:30:49 +0000
committerWilliam Thomson <wltjr@gentoo.org>2008-02-14 02:30:49 +0000
commit82dfff4715d29e8749f1d37bba624bdd6d7692ca (patch)
treef594841c27ed404f8aba14822cb35c2a52f39980 /dev-java
parentold (diff)
downloadgentoo-2-82dfff4715d29e8749f1d37bba624bdd6d7692ca.tar.gz
gentoo-2-82dfff4715d29e8749f1d37bba624bdd6d7692ca.tar.bz2
gentoo-2-82dfff4715d29e8749f1d37bba624bdd6d7692ca.zip
Quoted vars, set EAPI=1 and switched to slot deps, set JAVA_PKG_IUSE
(Portage version: 2.1.4.1)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/ldapsdk/ChangeLog10
-rw-r--r--dev-java/ldapsdk/ldapsdk-4.1.7-r3.ebuild56
2 files changed, 64 insertions, 2 deletions
diff --git a/dev-java/ldapsdk/ChangeLog b/dev-java/ldapsdk/ChangeLog
index bfe5262e72e2..b986dee07817 100644
--- a/dev-java/ldapsdk/ChangeLog
+++ b/dev-java/ldapsdk/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/ldapsdk
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/ldapsdk/ChangeLog,v 1.13 2007/02/04 00:26:59 caster Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ldapsdk/ChangeLog,v 1.14 2008/02/14 02:30:49 wltjr Exp $
+
+*ldapsdk-4.1.7-r3 (14 Feb 2008)
+
+ 14 Feb 2008; William L. Thomson Jr. <wltjr@gentoo.org>
+ +ldapsdk-4.1.7-r3.ebuild:
+ Quoted vars, set EAPI=1 and switched to slot deps, set JAVA_PKG_IUSE
04 Feb 2007; Vlastimil Babka <caster@gentoo.org> -ldapsdk-4.1.7-r1.ebuild:
Cleanup.
diff --git a/dev-java/ldapsdk/ldapsdk-4.1.7-r3.ebuild b/dev-java/ldapsdk/ldapsdk-4.1.7-r3.ebuild
new file mode 100644
index 000000000000..a055072ea45a
--- /dev/null
+++ b/dev-java/ldapsdk/ldapsdk-4.1.7-r3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/ldapsdk/ldapsdk-4.1.7-r3.ebuild,v 1.1 2008/02/14 02:30:49 wltjr Exp $
+
+EAPI=1
+JAVA_PKG_IUSE="doc source"
+inherit eutils java-pkg-2 java-ant-2
+
+DESCRIPTION="Netscape Directory SDK for Java"
+HOMEPAGE="http://www.mozilla.org/directory/javasdk.html"
+SRC_URI="http://www.mozilla.org/directory/${PN}_java_20020819.tar.gz"
+
+LICENSE="MPL-1.1"
+SLOT="4.1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=virtual/jre-1.4
+ dev-java/jss:3.4
+ dev-java/jakarta-oro:2.0"
+DEPEND=">=virtual/jdk-1.4
+ ${RDEPEND}"
+
+S=${WORKDIR}/mozilla/directory/java-sdk
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${WORKDIR}"/mozilla
+ epatch ${FILESDIR}/ldapsdk-gentoo.patch
+
+ cd "${S}"
+ echo "ororegexp.jar=$(java-pkg_getjars jakarta-oro-2.0)" > build.properties
+ echo "jss.jar=$(java-pkg_getjars jss-3.4)" >> build.properties
+
+ cd "${S}"/ldapjdk/lib
+ rm -f *.jar
+ java-pkg_jar-from jss-3.4
+
+ cd "${S}"/ldapsp/lib
+ rm *.jar
+
+ java-pkg_filter-compiler jikes
+}
+
+src_compile() {
+ eant dist-jdk dist-filter dist-beans dist-jndi $(use_doc build-docs)
+}
+
+src_install() {
+ java-pkg_dojar dist/packages/*.jar
+
+ use doc && java-pkg_dojavadoc dist/doc/ldapsp
+ use source && \
+ java-pkg_dosrc {ldapsp,ldapjdk}/com {ldapjdk,ldapbeans,ldapfilter}/netscape
+}