summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Sennhauser <sera@gentoo.org>2012-03-26 06:59:51 +0000
committerRalph Sennhauser <sera@gentoo.org>2012-03-26 06:59:51 +0000
commit728acf7893561c1c991c6e26c709f489462e5d0d (patch)
tree3db078722e48818516cf175c808ce185c944728a /dev-java
parentDepend on app-text/docbook-xml-dtd:4.3 for bug 399897. (diff)
downloadgentoo-2-728acf7893561c1c991c6e26c709f489462e5d0d.tar.gz
gentoo-2-728acf7893561c1c991c6e26c709f489462e5d0d.tar.bz2
gentoo-2-728acf7893561c1c991c6e26c709f489462e5d0d.zip
Import from java-overlay with some changes. Ebuild by Serkan Kaba <serkan@gentoo.org>. #352246
(Portage version: 2.1.10.49/cvs/Linux x86_64)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/bctsp/ChangeLog11
-rw-r--r--dev-java/bctsp/bctsp-1.45.ebuild40
-rw-r--r--dev-java/bctsp/metadata.xml8
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-java/bctsp/ChangeLog b/dev-java/bctsp/ChangeLog
new file mode 100644
index 000000000000..250a136a5e2d
--- /dev/null
+++ b/dev-java/bctsp/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/bctsp
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bctsp/ChangeLog,v 1.1 2012/03/26 06:59:51 sera Exp $
+
+*bctsp-1.45 (26 Mar 2012)
+
+ 26 Mar 2012; Ralph Sennhauser <sera@gentoo.org> +bctsp-1.45.ebuild,
+ +metadata.xml:
+ Import from java-overlay with some changes. Ebuild by Serkan Kaba
+ <serkan@gentoo.org>. #352246
+
diff --git a/dev-java/bctsp/bctsp-1.45.ebuild b/dev-java/bctsp/bctsp-1.45.ebuild
new file mode 100644
index 000000000000..753644f2d8ac
--- /dev/null
+++ b/dev-java/bctsp/bctsp-1.45.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bctsp/bctsp-1.45.ebuild,v 1.1 2012/03/26 06:59:51 sera Exp $
+
+EAPI=4
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+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="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+COMMON_DEPEND="
+ ~dev-java/bcprov-${PV}
+ ~dev-java/bcmail-${PV}"
+RDEPEND="${COMMON_DEPEND}
+ >=virtual/jre-1.5"
+DEPEND="${COMMON_DEPEND}
+ >=virtual/jdk-1.5
+ app-arch/unzip"
+
+S="${WORKDIR}"/${MY_P}
+
+JAVA_GENTOO_CLASSPATH="bcprov,bcmail"
+
+src_unpack() {
+ default
+ cd "${S}" || die
+ unpack ./src.zip
+ # Remove tests
+ rm -R org/bouncycastle/tsp/test || die
+}
diff --git a/dev-java/bctsp/metadata.xml b/dev-java/bctsp/metadata.xml
new file mode 100644
index 000000000000..82a57ccd5243
--- /dev/null
+++ b/dev-java/bctsp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<longdescription lang="en">
+</longdescription>
+</pkgmetadata>
+