summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/sun-javamail/Manifest1
-rw-r--r--dev-java/sun-javamail/sun-javamail-1.4.3-r1.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-java/sun-javamail/Manifest b/dev-java/sun-javamail/Manifest
index a4e4efd62746..495894ae2b18 100644
--- a/dev-java/sun-javamail/Manifest
+++ b/dev-java/sun-javamail/Manifest
@@ -1 +1,2 @@
DIST javamail-1.4.3-src.zip 1174915 SHA256 5204fd4e38b4f2a43fb727c861d7d1f69933d489706de100189970032582becd SHA512 092b44857ed8a7fee25e9dd5085144b9b04aaec2e294ac7271accda8d0f8ea71792671079c2e377dadce02282446f176abbd3f78f55a8342930667a985080210 WHIRLPOOL f0440fd2bd7f3a8db357e9824a81aaa68b08688aab0b77c08dcd8e136a8b5856678fc5e50c5799234e59df4df516c06ac3c78c0f699d757cbfbb06f54296372e
+DIST sun-javamail-1.4.3.zip 1174915 SHA256 5204fd4e38b4f2a43fb727c861d7d1f69933d489706de100189970032582becd SHA512 092b44857ed8a7fee25e9dd5085144b9b04aaec2e294ac7271accda8d0f8ea71792671079c2e377dadce02282446f176abbd3f78f55a8342930667a985080210 WHIRLPOOL f0440fd2bd7f3a8db357e9824a81aaa68b08688aab0b77c08dcd8e136a8b5856678fc5e50c5799234e59df4df516c06ac3c78c0f699d757cbfbb06f54296372e
diff --git a/dev-java/sun-javamail/sun-javamail-1.4.3-r1.ebuild b/dev-java/sun-javamail/sun-javamail-1.4.3-r1.ebuild
new file mode 100644
index 000000000000..5d800becc1d7
--- /dev/null
+++ b/dev-java/sun-javamail/sun-javamail-1.4.3-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A Java-based framework to build multiplatform mail and messaging applications"
+HOMEPAGE="http://java.sun.com/products/javamail/index.html"
+SRC_URI="mirror://gentoo/javamail-${PV}-src.zip -> ${P}.zip"
+
+LICENSE="|| ( CDDL GPL-2 BSD )"
+SLOT="0"
+KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+DEPEND=">=virtual/jdk-1.6"
+RDEPEND=">=virtual/jre-1.6"
+
+S="${WORKDIR}"
+
+JAVA_ENCODING="ISO-8859-1"
+JAVA_SRC_DIR="mail"
+
+HTML_DOCS=( doc/release )
+
+src_prepare() {
+ default
+ rm -rv mail/src/test || die
+}
+
+src_install() {
+ java-pkg-simple_src_install
+ einstalldocs
+}