summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-02-28 20:36:21 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-02-28 20:36:21 +0000
commit4ed7c972ea84c268ac63f57c13f62b6a465dc253 (patch)
tree5101336f011c73d852db111741a75b7f25fd1291 /dev-java
parentThis patch gets rid of knotifywidgetbase.h, which isn't exported (diff)
downloadgentoo-2-4ed7c972ea84c268ac63f57c13f62b6a465dc253.tar.gz
gentoo-2-4ed7c972ea84c268ac63f57c13f62b6a465dc253.tar.bz2
gentoo-2-4ed7c972ea84c268ac63f57c13f62b6a465dc253.zip
Initial import. Ebuilds contributed by Saleem A. <compnerd@gentoo.org> and Mark Wolfe <mwolfe@netspace.net.au>. Fixes #64652
(Portage version: 2.0.51.17)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/avalon-framework/ChangeLog12
-rw-r--r--dev-java/avalon-framework/Manifest5
-rw-r--r--dev-java/avalon-framework/avalon-framework-4.1.5.ebuild43
-rw-r--r--dev-java/avalon-framework/avalon-framework-4.2.0.ebuild44
-rw-r--r--dev-java/avalon-framework/files/build.xml48
-rw-r--r--dev-java/avalon-framework/files/digest-avalon-framework-4.1.51
-rw-r--r--dev-java/avalon-framework/files/digest-avalon-framework-4.2.01
-rw-r--r--dev-java/avalon-framework/metadata.xml5
8 files changed, 159 insertions, 0 deletions
diff --git a/dev-java/avalon-framework/ChangeLog b/dev-java/avalon-framework/ChangeLog
new file mode 100644
index 000000000000..8c718de29dad
--- /dev/null
+++ b/dev-java/avalon-framework/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-java/avalon-framework
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/avalon-framework/ChangeLog,v 1.1 2005/02/28 20:36:21 luckyduck Exp $
+
+*avalon-framework-4.1.5 (28 Feb 2005)
+
+ 28 Feb 2005; Jan Brinkmann <luckyduck@gentoo.org> +metadata.xml,
+ +files/build.xml, +avalon-framework-4.1.5.ebuild,
+ +avalon-framework-4.2.0.ebuild:
+ Initial import. Ebuilds contributed by Saleem A. <compnerd@gentoo.org> and
+ Mark Wolfe <mwolfe@netspace.net.au>. Fixes #64652
+
diff --git a/dev-java/avalon-framework/Manifest b/dev-java/avalon-framework/Manifest
new file mode 100644
index 000000000000..2ac9844f2e1d
--- /dev/null
+++ b/dev-java/avalon-framework/Manifest
@@ -0,0 +1,5 @@
+MD5 c2382097791bd2bcfa9913deac4e70bd avalon-framework-4.1.5.ebuild 1074
+MD5 b71155dffecfa23cbfc4766a9c903561 avalon-framework-4.2.0.ebuild 1171
+MD5 3c945053b5c79d286570b89c81418996 files/build.xml 1838
+MD5 5807e384e64fab8fd562ba9d3e171916 files/digest-avalon-framework-4.1.5 77
+MD5 56cf84c7d1a8b0f6e856ab1390bae920 files/digest-avalon-framework-4.2.0 77
diff --git a/dev-java/avalon-framework/avalon-framework-4.1.5.ebuild b/dev-java/avalon-framework/avalon-framework-4.1.5.ebuild
new file mode 100644
index 000000000000..b95161275e89
--- /dev/null
+++ b/dev-java/avalon-framework/avalon-framework-4.1.5.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/avalon-framework/avalon-framework-4.1.5.ebuild,v 1.1 2005/02/28 20:36:21 luckyduck Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Avalon Framework"
+HOMEPAGE="http://avalon.apache.org/"
+SRC_URI="mirror://apache/avalon/avalon-framework/source/${PF}.src.tar.gz"
+KEYWORDS="~amd64 ~x86"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/log4j-1.2.9
+ >=dev-java/ant-core-1.5
+ =dev-java/avalon-logkit-2*
+ jikes? ( >=dev-java/jikes-1.21 )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ cp ${FILESDIR}/build.xml ./build.xml || die "ANT update failure!"
+ local libs="log4j,avalon-logkit-2.0"
+ echo "classpath=`java-config -p ${libs}`" > build.properties
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "Compile failed!"
+}
+
+src_install() {
+ java-pkg_dojar ${S}/dist/avalon-framework.jar
+ dodoc LICENSE.txt
+ use doc && java-pkg_dohtml -r ${S}/target/docs/*
+}
diff --git a/dev-java/avalon-framework/avalon-framework-4.2.0.ebuild b/dev-java/avalon-framework/avalon-framework-4.2.0.ebuild
new file mode 100644
index 000000000000..0e2cceaa73e1
--- /dev/null
+++ b/dev-java/avalon-framework/avalon-framework-4.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/avalon-framework/avalon-framework-4.2.0.ebuild,v 1.1 2005/02/28 20:36:21 luckyduck Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Avalon Framework"
+HOMEPAGE="http://avalon.apache.org/"
+SRC_URI="mirror://apache/avalon/avalon-framework/source/${PF}-src.tar.gz"
+KEYWORDS="~amd64 ~x86"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+IUSE="doc jikes"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/log4j-1.2.9
+ >=dev-java/ant-core-1.5
+ =dev-java/avalon-logkit-2*
+ jikes? ( >=dev-java/jikes-1.21 )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${PN}
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ cp ${FILESDIR}/build.xml ./build.xml || die "ANT update failure!"
+
+ local libs="log4j,avalon-logkit-2.0"
+ echo "classpath=`java-config -p ${libs}`" > build.properties
+}
+
+src_compile() {
+ local antflags="jar"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ use doc && antflags="${antflags} javadoc"
+ ant ${antflags} || die "Compile failed!"
+}
+
+src_install() {
+ java-pkg_dojar ${S}/dist/avalon-framework.jar
+ dodoc LICENSE.txt NOTICE.TXT
+ use doc && java-pkg_dohtml -r ${S}/target/docs/*
+}
diff --git a/dev-java/avalon-framework/files/build.xml b/dev-java/avalon-framework/files/build.xml
new file mode 100644
index 000000000000..422246c2dbdc
--- /dev/null
+++ b/dev-java/avalon-framework/files/build.xml
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="avalon-framework" basedir="." default="jar">
+ <property file="build.properties"/>
+ <property file="default.properties"/>
+
+ <property name="api.src" value="${basedir}/api/src/java"/>
+ <property name="api.test.src" value="${basedir}/api/src/test"/>
+ <property name="impl.src" value="${basedir}/impl/src/java"/>
+ <property name="impl.test.src" value="${basedir}/impl/src/test"/>
+
+ <property name="target" value="${basedir}/target"/>
+ <property name="dist" value="${basedir}/dist"/>
+
+ <property name="jarfile" value="avalon-framework.jar"/>
+
+ <property name="packages" value="org.apache.avalon.framework.*"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${target}"/>
+ <mkdir dir="${target}/docs"/>
+ <mkdir dir="${target}/tests"/>
+ <mkdir dir="${dist}"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac srcdir="${api.src}" destdir="${target}" source="1.4" target="1.4" classpath="${classpath}"/>
+ <javac srcdir="${impl.src}" destdir="${target}" source="1.4" target="1.4" classpath="${classpath}:${target}"/>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc sourcepath="${api.src}" destdir="${target}/docs" packagenames="${packages}" classpath="${classpath}" source="1.4"/>
+ <javadoc sourcepath="${impl.src}" destdir="${target}/docs" packagenames="${packages}" classpath="${classpath}:${target}" source="1.4"/>
+ </target>
+
+ <target name="jar" depends="compile">
+ <jar jarfile="${dist}/${jarfile}" basedir="${target}"/>
+ </target>
+
+ <target name="clean">
+ <delete dir="${target}/api"/>
+ <delete dir="${target}/impl"/>
+ <delete dir="${target}/docs"/>
+ <delete dir="${target}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/avalon-framework/files/digest-avalon-framework-4.1.5 b/dev-java/avalon-framework/files/digest-avalon-framework-4.1.5
new file mode 100644
index 000000000000..e14121662ccb
--- /dev/null
+++ b/dev-java/avalon-framework/files/digest-avalon-framework-4.1.5
@@ -0,0 +1 @@
+MD5 a9f248515f37a24cbda8f3688f0fc10f avalon-framework-4.1.5.src.tar.gz 99475
diff --git a/dev-java/avalon-framework/files/digest-avalon-framework-4.2.0 b/dev-java/avalon-framework/files/digest-avalon-framework-4.2.0
new file mode 100644
index 000000000000..c126828325ca
--- /dev/null
+++ b/dev-java/avalon-framework/files/digest-avalon-framework-4.2.0
@@ -0,0 +1 @@
+MD5 fd42e4ed9d9cd7a4d2e7fca7ab8e847f avalon-framework-4.2.0-src.tar.gz 68887
diff --git a/dev-java/avalon-framework/metadata.xml b/dev-java/avalon-framework/metadata.xml
new file mode 100644
index 000000000000..838c00a4a448
--- /dev/null
+++ b/dev-java/avalon-framework/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>