--- /dev/null
+# 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.1 2007/03/25 17:26:43 wltjr Exp $
+
+ 25 Mar 2007; William L. Thomson Jr. <wltjr@gentoo.org> ChangeLog:
+ Initial ebuild, should be pretty identical to bcprov ebuild. Ideal to keep
+ both in sync. Still to do, junit/test stuff, optional dep/compile test run
+
--- /dev/null
+DIST bcmail-jdk14-136.tar.gz 366624 RMD160 750e0ec71e46dcae19b7c5785e48bf5945cdf274 SHA1 12303303c3d4632e8a2e8c64e5d42e97bfa0a21a SHA256 832bc096dfe4e5dcb9c1c8256bffa8de249130b3d4f85ab3a2ffbada3d88a0ea
+EBUILD bcmail-1.36.ebuild 1164 RMD160 cd66b64eaa3c3073b5bd7794a6ac9cffc3544c21 SHA1 b5d2d66877a9c690f75f21c845174aa39ebf6a77 SHA256 e4fd1405d625c7658dafba970f6055b549da8f67bd00ba81b82b38975d652db2
+MD5 0487e2ebadb086157287c674a6b66f19 bcmail-1.36.ebuild 1164
+RMD160 cd66b64eaa3c3073b5bd7794a6ac9cffc3544c21 bcmail-1.36.ebuild 1164
+SHA256 e4fd1405d625c7658dafba970f6055b549da8f67bd00ba81b82b38975d652db2 bcmail-1.36.ebuild 1164
+MISC ChangeLog 425 RMD160 30e91b5a5752c6395c1e2a6319609de886f97ae7 SHA1 b6faea5f262221f3ca83e1b4205517367d71cb9f SHA256 62b9a41d153d73ceaa67d338ab9e333736663108c9908ec7d50dc17b21aafa96
+MD5 7df586ad7e003d93e1c90d2b0fe0e94c ChangeLog 425
+RMD160 30e91b5a5752c6395c1e2a6319609de886f97ae7 ChangeLog 425
+SHA256 62b9a41d153d73ceaa67d338ab9e333736663108c9908ec7d50dc17b21aafa96 ChangeLog 425
+MISC metadata.xml 397 RMD160 66a49cc71f9ec786c0e93ae4c4a4eaea8712f6d6 SHA1 0636674b59ec0ea55bd79ec694553958c678bf59 SHA256 9af22e5e76d888769afb48e2958caeb0b589a53e6f6475c45e5064194bd8287f
+MD5 a2329cf812b2d7d56bd474ea91543c9c metadata.xml 397
+RMD160 66a49cc71f9ec786c0e93ae4c4a4eaea8712f6d6 metadata.xml 397
+SHA256 9af22e5e76d888769afb48e2958caeb0b589a53e6f6475c45e5064194bd8287f metadata.xml 397
+MD5 fcb1aa98423931f8820c3253c06bec0f files/digest-bcmail-1.36 250
+RMD160 18e792a42fbc9460cf00858f7bf4a55d9b90ac42 files/digest-bcmail-1.36 250
+SHA256 639e1c3d3c2cc87f1780a1f71509812a758ca6517bb345adeaddab5674a18eca files/digest-bcmail-1.36 250
--- /dev/null
+# 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.36.ebuild,v 1.1 2007/03/25 17:26:43 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 ~x86"
+
+COMMON_DEPEND="~dev-java/bcprov-${PV}
+ dev-java/junit
+ 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-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
+}
--- /dev/null
+MD5 98d3cb5335f43dd31d28d0a0d96dcb10 bcmail-jdk14-136.tar.gz 366624
+RMD160 750e0ec71e46dcae19b7c5785e48bf5945cdf274 bcmail-jdk14-136.tar.gz 366624
+SHA256 832bc096dfe4e5dcb9c1c8256bffa8de249130b3d4f85ab3a2ffbada3d88a0ea bcmail-jdk14-136.tar.gz 366624
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+
+ <herd>java</herd>
+
+ <maintainer>
+ <email>wltjr@gentoo.org</email>
+ <name>William L. Thomson Jr.</name>
+ </maintainer>
+
+ <longdescription>
+ Lightweight Java cryptography APIs that work with everything
+ from the J2ME to the JDK 1.6
+ </longdescription>
+
+</pkgmetadata>