+++ /dev/null
-# ChangeLog for dev-java/db4o
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 20 Dec 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> -db4o-7.4.ebuild,
- +db4o-7.4.71.12224.ebuild:
- Update version, use internal versioning
-
- 08 Oct 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> db4o-7.4.ebuild:
- Use a mirror with fixed tarball
-
- 11 Sep 2008; Tiago Cunha (tcunha) <me@tiagocunha.org> db4o-7.4.ebuild:
- Remove unneeded empty line
-
- 07 Sep 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> +db4o-7.4.ebuild,
- +files/build.xml, +metadata.xml:
- Initial commit for bug 236981 (will be a dep for future net-p2p/freenet
- versions), thanks for the initial build.xml to
- nextgens@freenetproject.org
-
+++ /dev/null
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-JAVA_PKG_IUSE="source"
-
-inherit java-pkg-2 java-ant-2
-
-DESCRIPTION="Object database for java"
-HOMEPAGE="http://www.db4o.com"
-SRC_URI="http://dev.gentooexperimental.org/~tommy/distfiles/${P}.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-
-RDEPEND=">=virtual/jre-1.5"
-DEPEND=">=virtual/jdk-1.5
- app-arch/unzip"
-S=${WORKDIR}/${PN}-${PV%.*.*}
-
-src_unpack() {
- unpack ${A}
- cp "${FILESDIR}"/build.xml "${S}"
-}
-
-src_install() {
- java-pkg_dojar "${PN}.jar"
- use source && java-pkg_dosrc src
-}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project name="db4o" default="jar" basedir=".">
- <description>
- DB4O doesn't provide a decent building script... here is the one we are going to use.
- </description>
-
- <!-- set global properties for this build -->
- <property name="src" location="src"/>
- <property name="build" location="build"/>
- <property name="build-db4oj" location="build-db4oj"/>
- <property name="build-db4ojdk1.2" location="build-db4ojdk1.2"/>
- <property name="build-db4ojdk5" location="build-db4ojdk5"/>
- <property name="jarfile" location="db4o.jar"/>
- <property name="javac.target.version" value="1.5"/>
-
- <assertions>
- <enable/>
- </assertions>
-
- <target name="mkdir">
- <mkdir dir="${build}"/>
- <mkdir dir="${build-db4oj}"/>
- <mkdir dir="${build-db4ojdk1.2}"/>
- <mkdir dir="${build-db4ojdk5}"/>
- </target>
-
- <!-- ================================================== -->
-
- <target name="compile" depends="mkdir">
- <!-- Create the time stamp -->
- <tstamp/>
-
- <javac srcdir="${src}" destdir="${build-db4oj}" debug="on" optimize="on" source="${javac.target.version}">
- <include name="db4oj/**/*.java"/>
- <exclude name="db4oj/test/**/*.java"/>
- </javac>
-
- <javac srcdir="${src}" destdir="${build-db4ojdk1.2}" debug="on" optimize="on" source="${javac.target.version}">
- <classpath>
- <pathelement location="${build-db4oj}"/>
- </classpath>
-
- <include name="db4ojdk1.2/**/*.java"/>
- <exclude name="db4ojdk1.2/test/**/*.java"/>
- </javac>
-
- <javac srcdir="${src}" destdir="${build-db4ojdk5}" debug="on" optimize="on" source="${javac.target.version}">
- <classpath>
- <pathelement location="${build-db4oj}"/>
- <pathelement location="${build-db4ojdk1.2}"/>
- </classpath>
-
- <include name="db4ojdk5/**/*.java"/>
- <exclude name="db4ojdk5/test/**/*.java"/>
- </javac>
- </target>
-
- <!-- ================================================== -->
-
- <target name="mergeOptimizations" depends="compile">
- <!-- yes, order matters! -->
- <copy todir="${build}/" overwrite="true">
- <fileset dir="${build-db4oj}"/>
- </copy>
- <copy todir="${build}/" overwrite="true">
- <fileset dir="${build-db4ojdk1.2}"/>
- </copy>
- <copy todir="${build}/" overwrite="true">
- <fileset dir="${build-db4ojdk5}"/>
- </copy>
- </target>
-
- <!-- ================================================== -->
-
- <target name="jar" depends="compile, mergeOptimizations"
- description="generate the distribution" >
- <!-- Create the distribution directory -->
- <jar jarfile="${jarfile}" basedir="${build}"/>
- </target>
-
- <!-- ================================================== -->
-
- <target name="clean" description="Delete class files and docs dir.">
- <delete file="${jarfile}"/>
- <delete dir="${build}"/>
- <delete dir="${build-db4oj}"/>
- <delete dir="${build-db4ojdk1.2}"/>
- <delete dir="${build-db4ojdk5}"/>
- </target>
-</project>