From 771b5a893e5dad290b3b14f94fe54d018a7dbe4a Mon Sep 17 00:00:00 2001 From: Thomas Matthijs Date: Sat, 30 Oct 2004 20:39:36 +0000 Subject: inital import, ebuild contributed by Dan --- dev-java/odmg/ChangeLog | 10 +++++++++ dev-java/odmg/Manifest | 15 +++++++++++++ dev-java/odmg/files/build-odmg.xml | 38 ++++++++++++++++++++++++++++++++ dev-java/odmg/files/digest-odmg-3.0 | 1 + dev-java/odmg/metadata.xml | 5 +++++ dev-java/odmg/odmg-3.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++ 6 files changed, 112 insertions(+) create mode 100644 dev-java/odmg/ChangeLog create mode 100644 dev-java/odmg/Manifest create mode 100644 dev-java/odmg/files/build-odmg.xml create mode 100644 dev-java/odmg/files/digest-odmg-3.0 create mode 100644 dev-java/odmg/metadata.xml create mode 100644 dev-java/odmg/odmg-3.0.ebuild (limited to 'dev-java/odmg') 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 +metadata.xml, + +files/build-odmg.xml, +odmg-3.0.ebuild: + inital import, ebuild contributed by Dan + 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 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 @@ + + + + java + 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/* +} -- cgit v1.2.3-65-gdbad