summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/bcmail')
-rw-r--r--dev-java/bcmail/ChangeLog8
-rw-r--r--dev-java/bcmail/bcmail-1.37.ebuild53
-rw-r--r--dev-java/bcmail/files/digest-bcmail-1.373
3 files changed, 63 insertions, 1 deletions
diff --git a/dev-java/bcmail/ChangeLog b/dev-java/bcmail/ChangeLog
index 7ac62697a6db..53a09d96e46d 100644
--- a/dev-java/bcmail/ChangeLog
+++ b/dev-java/bcmail/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/bcmail
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/ChangeLog,v 1.8 2007/06/14 00:35:39 angelos Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/ChangeLog,v 1.9 2007/09/09 19:26:05 wltjr Exp $
+
+*bcmail-1.37 (09 Sep 2007)
+
+ 09 Sep 2007; William L. Thomson Jr. <wltjr@gentoo.org>
+ +bcmail-1.37.ebuild:
+ Bumped to latest release.
14 Jun 2007; Christoph Mende <angelos@gentoo.org> bcmail-1.36.ebuild:
Stable on amd64 wrt bug 181086
diff --git a/dev-java/bcmail/bcmail-1.37.ebuild b/dev-java/bcmail/bcmail-1.37.ebuild
new file mode 100644
index 000000000000..0ef481732017
--- /dev/null
+++ b/dev-java/bcmail/bcmail-1.37.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.37.ebuild,v 1.1 2007/09/09 19:26:05 wltjr Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="${PN}-jdk14-${PV/./}"
+DESCRIPTION="Java cryptography APIs"
+HOMEPAGE="http://www.bouncycastle.org/java.html"
+SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+COMMON_DEPEND="~dev-java/bcprov-${PV}
+ dev-java/junit
+ dev-java/sun-jaf
+ dev-java/sun-javamail"
+DEPEND=">=virtual/jdk-1.4
+ app-arch/unzip
+ ${COMMON_DEPEND}"
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ unpack ./src.zip
+}
+
+src_compile() {
+ mkdir "${S}/classes"
+
+ find org -name "*.java" > "${T}/src.list"
+ ejavac -d "${S}/classes" \
+ -classpath $(java-pkg_getjars bcprov,junit,sun-jaf,sun-javamail) \
+ "@${T}/src.list"
+
+ cd "${S}/classes"
+ jar -cf "${S}/${PN}.jar" * || die "failed to create jar"
+}
+
+src_install() {
+ java-pkg_dojar "${S}/${PN}.jar"
+
+ use source && java-pkg_dosrc org
+ use doc && java-pkg_dojavadoc docs
+}
diff --git a/dev-java/bcmail/files/digest-bcmail-1.37 b/dev-java/bcmail/files/digest-bcmail-1.37
new file mode 100644
index 000000000000..dc0e4eb8895b
--- /dev/null
+++ b/dev-java/bcmail/files/digest-bcmail-1.37
@@ -0,0 +1,3 @@
+MD5 b802105780c4a464a3ed2d056911bf1e bcmail-jdk14-137.tar.gz 383382
+RMD160 fde025a6e68d8a12a1649279345a084e5014b505 bcmail-jdk14-137.tar.gz 383382
+SHA256 f13a04a83ed33232d23e223e4e8987486615ff0a960ddd81d5e04de8d327de4d bcmail-jdk14-137.tar.gz 383382