summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/bcprov')
-rw-r--r--dev-java/bcprov/Manifest3
-rw-r--r--dev-java/bcprov/bcprov-1.47.ebuild56
-rw-r--r--dev-java/bcprov/metadata.xml7
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/bcprov/Manifest b/dev-java/bcprov/Manifest
new file mode 100644
index 0000000..3b89142
--- /dev/null
+++ b/dev-java/bcprov/Manifest
@@ -0,0 +1,3 @@
+DIST bcprov-jdk15on-147.tar.gz 3321004 SHA256 38972df600d696d2e9593d62d5706bb76b0f2bb66bb9314cf15c998a7f97d7d7 SHA512 7243ac3de5971c8195ed41d5fe0f7e45dc854c4a6a8cdb3591d353451c210d8b07970dbcbd2f98a6689fd0f944ae47abd4cfd5f11fef1fa00e5f4769d6ec30f2 WHIRLPOOL 15f6610a6ace347c7bc5cf97b7ecfa032245316be5d56c3d174431fb1a9ef6d68ccf5aa9c6d321d2fa36392bed256c97619c9f2af8f8f319aadff4a164c33585
+EBUILD bcprov-1.47.ebuild 1340 SHA256 69901f987184975ac3ffc13c161f853dc5878ec184ac6e121e0901dc5d062602 SHA512 3aeea6c208ab9182392d19aaac6e48b20496460b12fc2fb4ed71b717d61859c3118f5310b1524c3a1b3275646f1ee8cfc6b2edb543a62ba7665bd5dea10b06be WHIRLPOOL dffc86ba91a1be1644b596367212fa0709af11d054521fd71e20f8951a70ec4777f7672022959b852f0b8c6c8fdd7c0d7e0ab30cd2672c50a3ca7a6b461ed573
+MISC metadata.xml 205 SHA256 2ff0740a5424b0e10c7888541a248d1bd363a60911b0921b4cfe5c36590498ce SHA512 e7c77c724739d0af43cc338ded09dcbeee2a710eb0e49f1e656dc4c891bee85bfd6935bf70a191a1c5823f473643e676d64970416e5f1820ea466681016757c5 WHIRLPOOL 5b7f0c2a5243244fa06b072c8f0d9f53e7b6f45c7e1b74a0d945bdcc28b7137fddfd58e85b0d3e721e80963916ceae0d4cca59f48114ba26c47b24a91d6abb27
diff --git a/dev-java/bcprov/bcprov-1.47.ebuild b/dev-java/bcprov/bcprov-1.47.ebuild
new file mode 100644
index 0000000..a983d68
--- /dev/null
+++ b/dev-java/bcprov/bcprov-1.47.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcprov/bcprov-1.45.ebuild,v 1.6 2012/05/12 03:13:16 aballier Exp $
+
+EAPI=4
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="${PN}-jdk15on-${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 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos"
+
+DEPEND=">=virtual/jdk-1.5
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.5"
+
+IUSE=""
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ default
+ 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/metadata.xml b/dev-java/bcprov/metadata.xml
new file mode 100644
index 0000000..80859ae
--- /dev/null
+++ b/dev-java/bcprov/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>the.dmol@gmail.com</email>
+ </maintainer>
+</pkgmetadata>