diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2007-11-20 05:24:14 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2007-11-20 05:24:14 +0000 |
commit | f92e632212511413dbe97ee5a4f100561811e77d (patch) | |
tree | d56154dafd457403e57f4647e874dd4639efae29 /dev-java | |
parent | Bumping to support javamail virtual. (diff) | |
download | gentoo-2-f92e632212511413dbe97ee5a4f100561811e77d.tar.gz gentoo-2-f92e632212511413dbe97ee5a4f100561811e77d.tar.bz2 gentoo-2-f92e632212511413dbe97ee5a4f100561811e77d.zip |
Bumping to support javamail virtual.
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/bcmail/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/bcmail/bcmail-1.37-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-java/bcmail/files/digest-bcmail-1.37-r1 | 3 |
3 files changed, 62 insertions, 1 deletions
diff --git a/dev-java/bcmail/ChangeLog b/dev-java/bcmail/ChangeLog index 94682ce627b3..db659177c64c 100644 --- a/dev-java/bcmail/ChangeLog +++ b/dev-java/bcmail/ChangeLog @@ -1,6 +1,11 @@ # 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.14 2007/10/15 14:07:12 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/ChangeLog,v 1.15 2007/11/20 05:24:13 ali_bush Exp $ + +*bcmail-1.37-r1 (20 Nov 2007) + + 20 Nov 2007; <alistair@gentoo.org> +bcmail-1.37-r1.ebuild: + Bumping to support javamail virtual. 15 Oct 2007; Markus Rothe <corsair@gentoo.org> bcmail-1.37.ebuild: Stable on ppc64 diff --git a/dev-java/bcmail/bcmail-1.37-r1.ebuild b/dev-java/bcmail/bcmail-1.37-r1.ebuild new file mode 100644 index 000000000000..06e2285901a9 --- /dev/null +++ b/dev-java/bcmail/bcmail-1.37-r1.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-r1.ebuild,v 1.1 2007/11/20 05:24:13 ali_bush 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 + java-virtuals/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,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-r1 b/dev-java/bcmail/files/digest-bcmail-1.37-r1 new file mode 100644 index 000000000000..dc0e4eb8895b --- /dev/null +++ b/dev-java/bcmail/files/digest-bcmail-1.37-r1 @@ -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 |