diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-05 23:12:10 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-02-05 23:12:10 +0000 |
commit | 163184f9128d86930d73ab1a096160afaf0c6abe (patch) | |
tree | c3e4c9472030b9c314ae863d3ab99cdf153525c1 /dev-java | |
parent | stable (diff) | |
download | historical-163184f9128d86930d73ab1a096160afaf0c6abe.tar.gz historical-163184f9128d86930d73ab1a096160afaf0c6abe.tar.bz2 historical-163184f9128d86930d73ab1a096160afaf0c6abe.zip |
Initial import, package needed as a indirect dependency of openjms.
Package-Manager: portage-2.0.51-r15
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jdbm/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jdbm/Manifest | 5 | ||||
-rw-r--r-- | dev-java/jdbm/files/digest-jdbm-0.12 | 1 | ||||
-rw-r--r-- | dev-java/jdbm/files/jdbm-0.12-buildfile.patch | 53 | ||||
-rw-r--r-- | dev-java/jdbm/jdbm-0.12.ebuild | 46 | ||||
-rw-r--r-- | dev-java/jdbm/metadata.xml | 5 |
6 files changed, 120 insertions, 0 deletions
diff --git a/dev-java/jdbm/ChangeLog b/dev-java/jdbm/ChangeLog new file mode 100644 index 000000000000..77e548bc6dbf --- /dev/null +++ b/dev-java/jdbm/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jdbm +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbm/ChangeLog,v 1.1 2005/02/05 23:12:09 luckyduck Exp $ + +*jdbm-0.12 (06 Feb 2005) + + 06 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml, + +files/jdbm-0.12-buildfile.patch, +jdbm-0.12.ebuild: + Initial import, package needed as a indirect dependency of openjms. + diff --git a/dev-java/jdbm/Manifest b/dev-java/jdbm/Manifest new file mode 100644 index 000000000000..3c2c506e0370 --- /dev/null +++ b/dev-java/jdbm/Manifest @@ -0,0 +1,5 @@ +MD5 57b567c8f6c570ca130d65b8a4e7ff48 jdbm-0.12.ebuild 1033 +MD5 7a52ef1de792cf5c0ee2840e2f91f5cb ChangeLog 421 +MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +MD5 05e6cb1009ca10279b6991417778254b files/jdbm-0.12-buildfile.patch 2260 +MD5 cdc880fb1002d9e6832ae598f4398b16 files/digest-jdbm-0.12 62 diff --git a/dev-java/jdbm/files/digest-jdbm-0.12 b/dev-java/jdbm/files/digest-jdbm-0.12 new file mode 100644 index 000000000000..307eddbd14c4 --- /dev/null +++ b/dev-java/jdbm/files/digest-jdbm-0.12 @@ -0,0 +1 @@ +MD5 361029bc721dd063cc12a8ebee1c5c6f jdbm-0.12-src.zip 969490 diff --git a/dev-java/jdbm/files/jdbm-0.12-buildfile.patch b/dev-java/jdbm/files/jdbm-0.12-buildfile.patch new file mode 100644 index 000000000000..23957e131c50 --- /dev/null +++ b/dev-java/jdbm/files/jdbm-0.12-buildfile.patch @@ -0,0 +1,53 @@ +--- build.xml.orig 2005-02-05 23:34:43.000000000 +0100 ++++ build.xml 2005-02-06 00:02:39.392389088 +0100 +@@ -1,9 +1,9 @@ +-<project name="JDBM" default="main" basedir=".">
++<project name="JDBM" default="main" basedir="..">
+
+ <target name="init">
+ <property name="project" value="jdbm" />
+ <property name="source" value="./src" />
+- <property name="main" value="${source}/main" />
++ <property name="main.src" value="${source}/main" />
+ <property name="etc" value="${source}/etc" />
+ <property name="build" value="build" />
+ <property name="classes" value="${build}/classes" />
+@@ -16,7 +16,7 @@ + <property name="build.compiler" value="classic" />
+ <property name="deprecation" value="true" />
+ <property file="VERSION" />
+- <property name="archive" value="${project}-${version}" />
++ <property name="archive" value="${project}" />
+ </target>
+
+
+@@ -46,7 +46,7 @@ +
+
+ <!-- Prepare target directories -->
+- <target name="prepare">
++ <target name="prepare" depends="init">
+ <mkdir dir="${build}"/>
+ <mkdir dir="${classes}"/>
+ <mkdir dir="${dist}"/>
+@@ -61,8 +61,9 @@ +
+ <!-- Build all the sources with debug and deprecation -->
+ <target name="main" depends="prepare">
+- <javac srcdir="${main}" destdir="${classes}" excludes="**/package.html"
+- classpath="${classpath}" debug="on" deprecation="${deprecation}" />
++ <javac srcdir="${source}/main" destdir="${classes}" excludes="**/package.html"
++ classpath="${classpath}" debug="on" deprecation="${deprecation}"
++ target="1.3" source="1.3" />
+ </target>
+
+ <!-- Same as main, but also cleans and additional targets -->
+@@ -131,7 +132,7 @@ + <mkdir dir="${build}/doc/javadoc" />
+ <property name="copyright"
+ value="Cees de Groot (C) 2000-2001. All rights reserved http://jdbm.sourceforge.net" />
+- <javadoc sourcepath="${main}" destdir="${build}/doc/javadoc" dir="."
++ <javadoc sourcepath="${source}/main" destdir="${build}/doc/javadoc"
+ doctitle="JDBM JavaDoc" windowtitle="JDBM JavaDoc" bottom="${copyright}"
+ package="true" author="true" version="true" noindex="true"
+ packagenames="jdbm.*" />
diff --git a/dev-java/jdbm/jdbm-0.12.ebuild b/dev-java/jdbm/jdbm-0.12.ebuild new file mode 100644 index 000000000000..fe819584584f --- /dev/null +++ b/dev-java/jdbm/jdbm-0.12.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jdbm/jdbm-0.12.ebuild,v 1.1 2005/02/05 23:12:09 luckyduck Exp $ + +inherit eutils java-pkg + +DESCRIPTION="Jdbm aims to be for Java what GDBM is for Perl, Python, C, ..." +HOMEPAGE="http://jdbm.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" + +LICENSE="BSD" +SLOT="1" +KEYWORDS="~amd64 ~x86" +IUSE="doc jikes" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + app-arch/unzip + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.4 + dev-java/jta + =dev-java/xerces-1.3*" + +src_unpack() { + unpack ${A} + + cd ${S}/src + epatch ${FILESDIR}/${P}-buildfile.patch + + cd ${S}/lib + rm *.jar +} + +src_compile() { + cd ${S}/src + + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "ant failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + use doc && java-pkg_dohtml -r build/doc/javadoc/* +} diff --git a/dev-java/jdbm/metadata.xml b/dev-java/jdbm/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/jdbm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +</pkgmetadata> |