diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2007-10-17 06:07:00 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2007-10-17 06:07:00 +0000 |
commit | 75f8dfdfd02dd8db5815f65b5f3fcd368b959fcd (patch) | |
tree | 1459810012201da6f964b45d97ddc8e2f881cf57 /dev-java/gnu-javamail | |
parent | Version bump by upstream (diff) | |
download | gentoo-2-75f8dfdfd02dd8db5815f65b5f3fcd368b959fcd.tar.gz gentoo-2-75f8dfdfd02dd8db5815f65b5f3fcd368b959fcd.tar.bz2 gentoo-2-75f8dfdfd02dd8db5815f65b5f3fcd368b959fcd.zip |
Rev bump gnu-javamail to enable java-virtual support.
(Portage version: 2.1.3.13)
Diffstat (limited to 'dev-java/gnu-javamail')
-rw-r--r-- | dev-java/gnu-javamail/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/gnu-javamail/files/digest-gnu-javamail-1.0-r2 | 3 | ||||
-rw-r--r-- | dev-java/gnu-javamail/gnu-javamail-1.0-r2.ebuild | 55 |
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-java/gnu-javamail/ChangeLog b/dev-java/gnu-javamail/ChangeLog index 2e8f1b775ec2..44278fde6d6a 100644 --- a/dev-java/gnu-javamail/ChangeLog +++ b/dev-java/gnu-javamail/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/gnu-javamail # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-javamail/ChangeLog,v 1.21 2007/03/28 18:15:23 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-javamail/ChangeLog,v 1.22 2007/10/17 06:07:00 ali_bush Exp $ + + 17 Oct 2007; <alistair@gentoo.org> + +gnu-javamail-1.0-r2.ebuild: + Rev bump gnu-javamail to update it's main jar from gnumail.jar to mail.jar. + Done this to provide consistent main jar file for the javamail java-virtual. 28 Mar 2007; Petteri Räty <betelgeuse@gentoo.org> gnu-javamail-1.0-r1.ebuild: diff --git a/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0-r2 b/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0-r2 new file mode 100644 index 000000000000..6fcc5cac4f19 --- /dev/null +++ b/dev-java/gnu-javamail/files/digest-gnu-javamail-1.0-r2 @@ -0,0 +1,3 @@ +MD5 64742f096c13146ec07734a449194bd7 mail-1.0.tar.gz 707084 +RMD160 cb1353a5c42259fb92858665672d84fe528e2616 mail-1.0.tar.gz 707084 +SHA256 0dcbf6b24ea1f0a47a4aff15060dda19349d8bea7025a6e7d2249969afb7099e mail-1.0.tar.gz 707084 diff --git a/dev-java/gnu-javamail/gnu-javamail-1.0-r2.ebuild b/dev-java/gnu-javamail/gnu-javamail-1.0-r2.ebuild new file mode 100644 index 000000000000..6d521a3fb7a0 --- /dev/null +++ b/dev-java/gnu-javamail/gnu-javamail-1.0-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/gnu-javamail/gnu-javamail-1.0-r2.ebuild,v 1.1 2007/10/17 06:07:00 ali_bush Exp $ + +inherit java-pkg-2 + +MY_PN="mail" +MY_P="${MY_PN}-${PV}" +DESCRIPTION="GNU implementation of the Javamail API" +HOMEPAGE="http://www.gnu.org/software/classpathx/javamail/" +SRC_URI="mirror://gnu/classpathx/${MY_P}.tar.gz" +LICENSE="GPL-2-with-linking-exception" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="doc" +RDEPEND=">=virtual/jre-1.4 + =dev-java/gnu-jaf-1* + =dev-java/gnu-classpath-inetlib-1.0* + !<=dev-java/mx4j-3.0.1 + !<=dev-java/mx4j-3.0.1-r2" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND}" + +S=${WORKDIR}/${MY_P} + +# TODO: Re-enable jikes support (see bug #89711) + +src_compile() { + local activation=$(dirname $(java-pkg_getjar gnu-jaf-1 activation.jar)) + local inetlib=$(dirname $(java-pkg_getjar gnu-classpath-inetlib-1.0 inetlib.jar)) + + econf \ + --with-activation-jar=${activation} \ + --with-inetlib-jar=${inetlib} \ + --enable-smtp \ + --enable-imap \ + --enable-pop3 \ + --enable-nntp \ + --enable-mbox \ + --enable-maildir \ + || die "failed to configure" + + emake JAVACFLAGS="${JAVACFLAGS}" || die "failed to compile" + + if use doc; then + emake javadoc || die "failed to generate javadoc" + fi +} + +src_install() { + java-pkg_dojar gnumail-providers.jar + java-pkg_newjar gnumail.jar mail.jar + dodoc AUTHORS ChangeLog NEWS README README.* + use doc && java-pkg_dojavadoc docs +} |