diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-21 10:54:31 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-21 10:54:31 +0000 |
commit | 9a3a43afd72fc4ca42365d3526f25591fc764cd9 (patch) | |
tree | 9770357aca930640663d1d09109043178f0f1a4d /dev-java/ldapsdk/ldapsdk-4.1.7-r2.ebuild | |
parent | shutdown now goes into single user mode by default, #158615. (diff) | |
download | gentoo-2-9a3a43afd72fc4ca42365d3526f25591fc764cd9.tar.gz gentoo-2-9a3a43afd72fc4ca42365d3526f25591fc764cd9.tar.bz2 gentoo-2-9a3a43afd72fc4ca42365d3526f25591fc764cd9.zip |
Revision bump using generation 2. Added the source use flag.
(Portage version: 2.1.2_rc3-r6)
Diffstat (limited to 'dev-java/ldapsdk/ldapsdk-4.1.7-r2.ebuild')
-rw-r--r-- | dev-java/ldapsdk/ldapsdk-4.1.7-r2.ebuild | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/dev-java/ldapsdk/ldapsdk-4.1.7-r2.ebuild b/dev-java/ldapsdk/ldapsdk-4.1.7-r2.ebuild new file mode 100644 index 000000000000..f82103c76675 --- /dev/null +++ b/dev-java/ldapsdk/ldapsdk-4.1.7-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 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-r2.ebuild,v 1.1 2006/12/21 10:54:31 betelgeuse Exp $ + +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="~x86 ~amd64" +IUSE="doc source" + +RDEPEND=">=virtual/jre-1.4 + =dev-java/jss-3.4* + =dev-java/jakarta-oro-2.0*" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + >=dev-java/ant-core-1.6.2" + +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 +} + +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 +} |