diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2004-10-30 20:39:36 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2004-10-30 20:39:36 +0000 |
commit | 771b5a893e5dad290b3b14f94fe54d018a7dbe4a (patch) | |
tree | 61d5b96b5e3b7af807d0d3c4bebb331021283cfe /dev-java/odmg | |
parent | inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net> (diff) | |
download | historical-771b5a893e5dad290b3b14f94fe54d018a7dbe4a.tar.gz historical-771b5a893e5dad290b3b14f94fe54d018a7dbe4a.tar.bz2 historical-771b5a893e5dad290b3b14f94fe54d018a7dbe4a.zip |
inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net>
Diffstat (limited to 'dev-java/odmg')
-rw-r--r-- | dev-java/odmg/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/odmg/Manifest | 15 | ||||
-rw-r--r-- | dev-java/odmg/files/build-odmg.xml | 38 | ||||
-rw-r--r-- | dev-java/odmg/files/digest-odmg-3.0 | 1 | ||||
-rw-r--r-- | dev-java/odmg/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/odmg/odmg-3.0.ebuild | 43 |
6 files changed, 112 insertions, 0 deletions
diff --git a/dev-java/odmg/ChangeLog b/dev-java/odmg/ChangeLog new file mode 100644 index 000000000000..a70878b79cec --- /dev/null +++ b/dev-java/odmg/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/odmg +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/odmg/ChangeLog,v 1.1 2004/10/30 20:39:36 axxo Exp $ + +*odmg-3.0 (30 Oct 2004) + + 30 Oct 2004; Thomas Matthijs <axxo@gentoo.org> +metadata.xml, + +files/build-odmg.xml, +odmg-3.0.ebuild: + inital import, ebuild contributed by Dan <dan@intuitivelyobvious.net> + diff --git a/dev-java/odmg/Manifest b/dev-java/odmg/Manifest new file mode 100644 index 000000000000..d230fc9765a6 --- /dev/null +++ b/dev-java/odmg/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 5872f879bfe0bbcea26ab97ffe3cea90 odmg-3.0.ebuild 1108 +MD5 0bd523a1f718bce80b1ebab6ef588d32 ChangeLog 402 +MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 +MD5 764aee18b261c1931a3c984539ae6271 files/digest-odmg-3.0 66 +MD5 de93d09394178058eb9ed6cae1919ae6 files/build-odmg.xml 872 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFBg/wS/rLF9B432nYRAtmaAKDC8GKc3uhNhW0nQjjzC9EKuzbQFgCgzHEY +vpisuMjyxps0WOvmb6A0Ptg= +=DsLh +-----END PGP SIGNATURE----- diff --git a/dev-java/odmg/files/build-odmg.xml b/dev-java/odmg/files/build-odmg.xml new file mode 100644 index 000000000000..f4c76d1fd586 --- /dev/null +++ b/dev-java/odmg/files/build-odmg.xml @@ -0,0 +1,38 @@ +<?xml version='1.0' encoding='UTF-8'?> + +<!-- + Builds the ODMG 3.0 Java Binding from the Apache DB OJB project. + + Written by Daniel Solano. +--> +<project name="ODMG-3.0" default="all" basedir="."> + <property file="build.properties"/> + + <target name="init"> + <ant target="init"/> + </target> + + <target name="clean"> + <ant target="clean"/> + </target> + + <target name="prepare" depends="init"> + <ant target="prepare"/> + </target> + + <target name="compile" depends="prepare"> + <javac srcdir="${build.src}" destdir="${build.dest}"> + <include name="org/odmg/*.java"/> + </javac> + </target> + + <target name="jar" depends="compile"> + <jar destfile="${dist}/odmg.jar" basedir="${build.dest}"/> + </target> + + <target name="javadoc" depends="compile"> + <javadoc destdir="${build.javadoc}"> + <packageset dir="${build.src}" includes="org/odmg"/> + </javadoc> + </target> +</project> diff --git a/dev-java/odmg/files/digest-odmg-3.0 b/dev-java/odmg/files/digest-odmg-3.0 new file mode 100644 index 000000000000..9930bf330d0e --- /dev/null +++ b/dev-java/odmg/files/digest-odmg-3.0 @@ -0,0 +1 @@ +MD5 b923c2b512aa6c066b66483b540bbf49 db-ojb-1.0.1-src.tgz 7855604 diff --git a/dev-java/odmg/metadata.xml b/dev-java/odmg/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/odmg/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> diff --git a/dev-java/odmg/odmg-3.0.ebuild b/dev-java/odmg/odmg-3.0.ebuild new file mode 100644 index 000000000000..30012f144b88 --- /dev/null +++ b/dev-java/odmg/odmg-3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/odmg/odmg-3.0.ebuild,v 1.1 2004/10/30 20:39:36 axxo Exp $ + +inherit java-pkg + +SRC_PN=db-ojb +SRC_PV=1.0.1 +SRC_P=${SRC_PN}-${SRC_PV} + +DESCRIPTION="The (now obsolete) ODMG 3.0 Java Binding, superceded by JDO." +SRC_URI="mirror://apache/db/ojb/${SRC_P}/${SRC_P}-src.tgz" +HOMEPAGE="http://www.odmg.org" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~x86 ~amd64" +RDEPEND=">=virtual/jre-1.3" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.5 " +IUSE="doc jikes" + +S=${WORKDIR}/${SRC_P} + +src_unpack() { + unpack ${A} + cd ${S} + cp ${FILESDIR}/build-odmg.xml . + sed -i -r -e "/import/d" -e "s/EnhancedOQL/OQL/g" \ + src/java/org/odmg/Implementation.java +} + +src_compile() { + local antflags="jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc" + ant -f build-odmg.xml ${antflags} || die "build failed" +} + +src_install() { + java-pkg_dojar dist/odmg.jar + dodoc LICENSE NOTICE + use doc && java-pkg_dohtml -r target/javadoc/* +} |