summaryrefslogtreecommitdiff
path: root/dev-java/bcprov
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2006-03-13 16:29:58 +0100
committerBertrand Jacquin <beber@meleeweb.net>2006-03-13 16:29:58 +0100
commite45f9238e149b87ef189438d5942529418677299 (patch)
treeb13ab036d56d8b16af1b260c4e68d7efbf99b3d0 /dev-java/bcprov
parentadd lyx 1.4.0 (diff)
downloadportage-e45f9238e149b87ef189438d5942529418677299.tar.xz
add new java things
Diffstat (limited to 'dev-java/bcprov')
-rw-r--r--dev-java/bcprov/Manifest9
-rw-r--r--dev-java/bcprov/bcprov-1.31.ebuild43
-rw-r--r--dev-java/bcprov/files/build.xml53
-rw-r--r--dev-java/bcprov/files/digest-bcprov-1.313
4 files changed, 108 insertions, 0 deletions
diff --git a/dev-java/bcprov/Manifest b/dev-java/bcprov/Manifest
new file mode 100644
index 00000000..f065ca38
--- /dev/null
+++ b/dev-java/bcprov/Manifest
@@ -0,0 +1,9 @@
+MD5 d32f3ebc25479bfae95221c18f8c817e bcprov-1.31.ebuild 828
+RMD160 44427c685d8ba1ceeff8ece837199cc2e789aa0e bcprov-1.31.ebuild 828
+SHA256 0a5d42095062a28ee66075fec44b76f891ce4ad22521ef6a3e4ea5f5b4f85bf4 bcprov-1.31.ebuild 828
+MD5 41c0dc45f2d148a0f8f9786abd6e6f15 files/build.xml 1538
+RMD160 63124bf64c7e000dc0b45d847f0f194a7d8252a2 files/build.xml 1538
+SHA256 1a6cce51e7e83e06ffcefeff597850df85a4d0d7ca3c333c2441a541c5432fce files/build.xml 1538
+MD5 e3ddef026f5c91a1841a35d84867ee26 files/digest-bcprov-1.31 253
+RMD160 dcbde8ba088df860df933c87b2540b4b3ba18eca files/digest-bcprov-1.31 253
+SHA256 3280794077e6dafca08e182770b1290ebbba36c00dfb44c79cce2ad0f95aa24f files/digest-bcprov-1.31 253
diff --git a/dev-java/bcprov/bcprov-1.31.ebuild b/dev-java/bcprov/bcprov-1.31.ebuild
new file mode 100644
index 00000000..96d57ae2
--- /dev/null
+++ b/dev-java/bcprov/bcprov-1.31.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit java-pkg-2
+
+MY_PN=${PN}-jdk14
+MY_PV=${PV//.}
+MY_P=${MY_PN}-${MY_PV}
+
+DESCRIPTION="The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms"
+HOMEPAGE="http://www.bouncycastle.org/"
+SRC_URI="http://www.bouncycastle.org/download/${MY_P}.tar.gz"
+
+LICENSE=""
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.4*
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4*"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/build.xml ${S}
+}
+
+src_compile() {
+ local antflags="-Dproject.name=${PN} jar"
+
+ eant ${antflags} || die "Compile failed"
+ mv docs api
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ dohtml *.html
+ use doc && java-pkg_dohtml -r api
+}
diff --git a/dev-java/bcprov/files/build.xml b/dev-java/bcprov/files/build.xml
new file mode 100644
index 00000000..731be7a5
--- /dev/null
+++ b/dev-java/bcprov/files/build.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+
+ <property name="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.jar"/>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}"/>
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${src}" destdir="${dist}/doc" packagenames="${pkg}"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
+
diff --git a/dev-java/bcprov/files/digest-bcprov-1.31 b/dev-java/bcprov/files/digest-bcprov-1.31
new file mode 100644
index 00000000..e0f2f5f0
--- /dev/null
+++ b/dev-java/bcprov/files/digest-bcprov-1.31
@@ -0,0 +1,3 @@
+MD5 830237b359ad7245ec67a972e58ac098 bcprov-jdk14-131.tar.gz 1800777
+RMD160 eb4eb1ddd676734e70dd186b2552c69c64431a77 bcprov-jdk14-131.tar.gz 1800777
+SHA256 b3ce157c0269b98aaa8bea03d916fa30ebc4acd885199c178078284848f8a0f8 bcprov-jdk14-131.tar.gz 1800777