diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-02-26 03:51:00 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-02-26 03:51:00 +0000 |
commit | 34bd14eb078d8b62e16c2dfdbd24160dc4088121 (patch) | |
tree | 6ff4a1248506701afc7695423c51d54f11e8dcad /dev-java/commons-modeler | |
parent | Bump (Manifest recommit) (diff) | |
download | gentoo-2-34bd14eb078d8b62e16c2dfdbd24160dc4088121.tar.gz gentoo-2-34bd14eb078d8b62e16c2dfdbd24160dc4088121.tar.bz2 gentoo-2-34bd14eb078d8b62e16c2dfdbd24160dc4088121.zip |
Initial Import and one step closer to a tomcat source build.
Diffstat (limited to 'dev-java/commons-modeler')
-rw-r--r-- | dev-java/commons-modeler/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/commons-modeler/Manifest | 3 | ||||
-rw-r--r-- | dev-java/commons-modeler/commons-modeler-1.1.ebuild | 48 | ||||
-rw-r--r-- | dev-java/commons-modeler/files/digest-commons-modeler-1.1 | 1 | ||||
-rw-r--r-- | dev-java/commons-modeler/files/gentoo.diff | 11 | ||||
-rw-r--r-- | dev-java/commons-modeler/metadata.xml | 5 |
6 files changed, 79 insertions, 0 deletions
diff --git a/dev-java/commons-modeler/ChangeLog b/dev-java/commons-modeler/ChangeLog new file mode 100644 index 000000000000..602a8d1e3c7e --- /dev/null +++ b/dev-java/commons-modeler/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/commons-modeler +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.1 2004/02/26 03:50:59 zx Exp $ + +*commons-modeler-1.1 (28 Feb 2004) + + 28 Feb 2004; Chris Aniszczyk <zx@gentoo.org> commons-modeler-1.1.ebuild, + metadata.xml: + Initial Import. + Thanks to Greg Bowyer <bg115@gre.ac.uk> for the initial ebuild. Closes #37925 + diff --git a/dev-java/commons-modeler/Manifest b/dev-java/commons-modeler/Manifest new file mode 100644 index 000000000000..08ce3033bd96 --- /dev/null +++ b/dev-java/commons-modeler/Manifest @@ -0,0 +1,3 @@ +MD5 f39200ee1bb6b0047a696cfb01a248d1 commons-modeler-1.1.ebuild 1655 +MD5 87f8f04cdcf795715523851d24cf5c7b files/digest-commons-modeler-1.1 66 +MD5 6cd2a42a25b29cb85c58037271a97037 files/gentoo.diff 510 diff --git a/dev-java/commons-modeler/commons-modeler-1.1.ebuild b/dev-java/commons-modeler/commons-modeler-1.1.ebuild new file mode 100644 index 000000000000..43bc737d17ae --- /dev/null +++ b/dev-java/commons-modeler/commons-modeler-1.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-1.1.ebuild,v 1.1 2004/02/26 03:51:00 zx Exp $ + +inherit java-pkg + +DESCRIPTION="A lib to make the setup of Java Management Extensions easier" +SRC_URI="mirror://apache/jakarta/commons/modeler/source/modeler-1.1-src.tar.gz" +HOMEPAGE="http://jakarta.apache.org/commons/modeler.html" +LICENSE="Apache-1.1" +SLOT="0" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/jmx-1.2.1 + >=dev-java/commons-logging-1.0.3 + >=dev-java/commons-digester-1.4.1 + >=dev-java/xalan-2.5.1" +KEYWORDS="~x86" +IUSE="doc jikes" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack "modeler-${PV}-src.tar.gz" + cd ${S} + + # Setup the build environment + echo "commons-digester.jar=`java-config --classpath=commons-digester | sed s/":"/"\n"/g | tail -n 1`" >> build.properties + echo "commons-logging.jar=`java-config --classpath=commons-logging | sed s/":"/"\n"/g | tail -n 1`" >> build.properties + echo "jmx.jar=`java-config --classpath=jmx | sed s/":"/"\n"/g | head -n1`" >> build.properties + echo "jmxtools.jar=`java-config --classpath=jmx | sed s/":"/"\n"/g | tail -n1`" >> build.properties + echo "jaxp.xalan.jar=`java-config --classpath=xalan`" >> build.properties + echo "junit.jar=`java-config --classpath=junit`" >> build.properties + mkdir dist + #epatch ${FILESDIR}/gentoo.diff +} + +src_compile() { + antflags="prepare jar" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + use doc && antflags="${antflags} javadoc" + ant ${antflags} +} + +src_install () { + java-pkg_dojar dist/${PN}.jar || die "Unable to install" + dodoc LICENSE.txt RELEASE-NOTES-1.1.txt RELEASE-NOTES.txt + use doc && dohtml -r docs/* +} diff --git a/dev-java/commons-modeler/files/digest-commons-modeler-1.1 b/dev-java/commons-modeler/files/digest-commons-modeler-1.1 new file mode 100644 index 000000000000..c54f1a021080 --- /dev/null +++ b/dev-java/commons-modeler/files/digest-commons-modeler-1.1 @@ -0,0 +1 @@ +MD5 6de043186a348758c845f1a2321e8308 modeler-1.1-src.tar.gz 92211 diff --git a/dev-java/commons-modeler/files/gentoo.diff b/dev-java/commons-modeler/files/gentoo.diff new file mode 100644 index 000000000000..fae256285feb --- /dev/null +++ b/dev-java/commons-modeler/files/gentoo.diff @@ -0,0 +1,11 @@ +--- build.xml 2003-07-28 19:50:44.000000000 -0500 ++++ build.xml.patched 2004-02-28 10:50:41.675563664 -0500 +@@ -205,7 +205,7 @@ + classpathref="compile.classpath" /> + </target> + +- <target name="jar" depends="compile-only" > ++ <target name="jar" depends="compile-only,prepare,init-dist" > + <mkdir dir="${build.home}/classes/META-INF"/> + <copy file="src/java/org/apache/commons/modeler/ant/ant.properties" + tofile="${build.home}/classes/META-INF/ant.properties"/> diff --git a/dev-java/commons-modeler/metadata.xml b/dev-java/commons-modeler/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/commons-modeler/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> |