diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/bcmail/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/bcmail/bcmail-1.38-r2.ebuild | 56 | ||||
-rw-r--r-- | dev-java/bcmail/bcmail-1.45-r1.ebuild | 55 |
3 files changed, 119 insertions, 1 deletions
diff --git a/dev-java/bcmail/ChangeLog b/dev-java/bcmail/ChangeLog index a5de58d7f440..5b50c6270ced 100644 --- a/dev-java/bcmail/ChangeLog +++ b/dev-java/bcmail/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/bcmail # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/ChangeLog,v 1.37 2013/07/12 02:42:30 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/ChangeLog,v 1.38 2013/08/15 10:11:10 tomwij Exp $ + +*bcmail-1.45-r1 (15 Aug 2013) +*bcmail-1.38-r2 (15 Aug 2013) + + 15 Aug 2013; Tom Wijsman <TomWij@gentoo.org> +bcmail-1.38-r2.ebuild, + +bcmail-1.45-r1.ebuild: + Slot dev-java/bcmail to resolve blockers. 12 Jul 2013; Patrick Lauer <patrick@gentoo.org> bcmail-1.38-r1.ebuild: QA: Adding ~amd64-fbsd keyword to avoid keyword removal cascade diff --git a/dev-java/bcmail/bcmail-1.38-r2.ebuild b/dev-java/bcmail/bcmail-1.38-r2.ebuild new file mode 100644 index 000000000000..968d2483eec8 --- /dev/null +++ b/dev-java/bcmail/bcmail-1.38-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.38-r2.ebuild,v 1.1 2013/08/15 10:11:10 tomwij Exp $ + +EAPI=1 + +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="1.38" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux" + +COMMON_DEPEND="~dev-java/bcprov-${PV}:0 + =dev-java/junit-3.8* + dev-java/sun-jaf + java-virtuals/javamail" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEPEND}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" +IUSE="" + +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/bcmail-1.45-r1.ebuild b/dev-java/bcmail/bcmail-1.45-r1.ebuild new file mode 100644 index 000000000000..c9b1d77101af --- /dev/null +++ b/dev-java/bcmail/bcmail-1.45-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcmail/bcmail-1.45-r1.ebuild,v 1.1 2013/08/15 10:11:10 tomwij Exp $ + +EAPI=2 + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +MY_P="${PN}-jdk15-${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="1.45" +KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos" + +COMMON_DEPEND="~dev-java/bcprov-${PV} + =dev-java/junit-3.8* + dev-java/sun-jaf + java-virtuals/javamail" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEPEND}" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEPEND}" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + default + 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 +} |