diff options
Diffstat (limited to 'dev-java/bcprov')
-rw-r--r-- | dev-java/bcprov/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/bcprov/bcprov-1.37.ebuild | 57 | ||||
-rw-r--r-- | dev-java/bcprov/files/digest-bcprov-1.37 | 3 |
3 files changed, 67 insertions, 1 deletions
diff --git a/dev-java/bcprov/ChangeLog b/dev-java/bcprov/ChangeLog index 46e22221fd23..0cf2fa334df8 100644 --- a/dev-java/bcprov/ChangeLog +++ b/dev-java/bcprov/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/bcprov # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.19 2007/06/17 08:46:43 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/ChangeLog,v 1.20 2007/09/09 19:22:32 wltjr Exp $ + +*bcprov-1.37 (09 Sep 2007) + + 09 Sep 2007; William L. Thomson Jr. <wltjr@gentoo.org> + +bcprov-1.37.ebuild: + Bumped to latest release. 17 Jun 2007; Petteri Räty <betelgeuse@gentoo.org> bcprov-1.36-r1.ebuild: Depend on >=sys-apps/findutils-4.3 when the userland is GNU to fix bug #182276. diff --git a/dev-java/bcprov/bcprov-1.37.ebuild b/dev-java/bcprov/bcprov-1.37.ebuild new file mode 100644 index 000000000000..dba000d7c0ab --- /dev/null +++ b/dev-java/bcprov/bcprov-1.37.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.37.ebuild,v 1.1 2007/09/09 19:22:32 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 ~x86-fbsd" + +# The src_unpack find needs a new find +# https://bugs.gentoo.org/show_bug.cgi?id=182276 +DEPEND=">=virtual/jdk-1.4 + userland_GNU? ( >=sys-apps/findutils-4.3 ) + app-arch/unzip" +RDEPEND=">=virtual/jre-1.4" + +IUSE="userland_GNU" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + unpack ./src.zip + + # so that we don't need junit + echo "Removing testcases' sources:" + find . -path '*test/*.java' -print -delete \ + || die "Failed to delete testcases." + find . -name '*Test*.java' -print -delete \ + || die "Failed to delete testcases." +} + +src_compile() { + mkdir "${S}/classes" + + find . -name "*.java" > "${T}/src.list" + ejavac -encoding ISO-8859-1 -d "${S}/classes" "@${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/bcprov/files/digest-bcprov-1.37 b/dev-java/bcprov/files/digest-bcprov-1.37 new file mode 100644 index 000000000000..291373ab1e0a --- /dev/null +++ b/dev-java/bcprov/files/digest-bcprov-1.37 @@ -0,0 +1,3 @@ +MD5 11222f408f80384925b9e414d8b27ec6 bcprov-jdk14-137.tar.gz 3230351 +RMD160 8773b35d947fba8eb4842111ed41590ca0839891 bcprov-jdk14-137.tar.gz 3230351 +SHA256 905262bcb1d833601593844f3dc677c7c7f666f66653b919182ddfa228b30e54 bcprov-jdk14-137.tar.gz 3230351 |