diff options
author | William Thomson <wltjr@gentoo.org> | 2006-12-01 16:09:26 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2006-12-01 16:09:26 +0000 |
commit | e721553ee08b30cde40ebb389c9368cb8e39c37a (patch) | |
tree | 3078ec15a6e823099f5ea236c7aafe89e70ff2ae /dev-java/commons-modeler | |
parent | Fix dependency versioning on mono deps (diff) | |
download | gentoo-2-e721553ee08b30cde40ebb389c9368cb8e39c37a.tar.gz gentoo-2-e721553ee08b30cde40ebb389c9368cb8e39c37a.tar.bz2 gentoo-2-e721553ee08b30cde40ebb389c9368cb8e39c37a.zip |
Switched from dep of fetch restricted sun-jmx to mx4j for now. Later will dep on a virtual :). Dropped ~ppc64 due to lack of mx4j-3.0 for that arch.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'dev-java/commons-modeler')
-rw-r--r-- | dev-java/commons-modeler/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild | 55 | ||||
-rw-r--r-- | dev-java/commons-modeler/files/digest-commons-modeler-1.1-r2 | 3 |
3 files changed, 66 insertions, 1 deletions
diff --git a/dev-java/commons-modeler/ChangeLog b/dev-java/commons-modeler/ChangeLog index e499754a2255..07162c589f3e 100644 --- a/dev-java/commons-modeler/ChangeLog +++ b/dev-java/commons-modeler/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/commons-modeler # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.15 2006/10/05 15:30:20 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.16 2006/12/01 16:09:26 wltjr Exp $ + +*commons-modeler-1.1-r2 (01 Dec 2006) + + 01 Dec 2006; William L. Thomson Jr. <wltjr@gentoo.org> + +commons-modeler-1.1-r2.ebuild: + Switched from dep of fetch restricted sun-jmx to mx4j for now. Later will + dep on a virtual :). Dropped ~ppc64 due to lack of mx4j-3.0 for that arch. 05 Oct 2006; Gustavo Zacarias <gustavoz@gentoo.org> commons-modeler-1.1.ebuild, commons-modeler-1.1-r1.ebuild: diff --git a/dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild b/dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild new file mode 100644 index 000000000000..bc44b02caeab --- /dev/null +++ b/dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild,v 1.1 2006/12/01 16:09:26 wltjr Exp $ + +inherit java-pkg-2 java-ant-2 + +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/" +LICENSE="Apache-1.1" +SLOT="0" +RDEPEND=">=virtual/jre-1.4 + =dev-java/mx4j-3* + >=dev-java/commons-logging-1.0.3 + >=dev-java/commons-digester-1.4.1 + >=dev-java/xalan-2.5.1" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + source? ( app-arch/zip )" + +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd ${S} + + # Setup the build environment + echo "commons-digester.jar=$(java-pkg_getjar commons-digester commons-digester.jar)" >> build.properties + echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties + echo "jmx.jar=$(java-pkg_getjar mx4j-3.0 mx4j.jar)" >> build.properties + echo "jmxtools.jar=$(java-pkg_getjar mx4j-3.0 mx4j-tools.jar)" >> build.properties + echo "jaxp.xalan.jar=$(java-pkg_getjars xalan)" >> build.properties + echo "junit.jar=$(java-pkg_getjars junit)" >> build.properties + mkdir dist +} + +src_compile() { + local antflags="prepare jar" + use doc && antflags="${antflags} javadoc" + eant ${antflags} || die "compile problem" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + dodoc RELEASE-NOTES-1.1.txt RELEASE-NOTES.txt + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc src/java/* +} +pkg_postinst() { + einfo "Changed to mx4j from sun-jmx due to fetch restrictions" + einfo "If you don't like it tell us at java@gentoo.org" +} diff --git a/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r2 b/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r2 new file mode 100644 index 000000000000..29c15fe941b8 --- /dev/null +++ b/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r2 @@ -0,0 +1,3 @@ +MD5 6de043186a348758c845f1a2321e8308 modeler-1.1-src.tar.gz 92211 +RMD160 dd1d1548784ff4fbc5549294b7a6bed16e319803 modeler-1.1-src.tar.gz 92211 +SHA256 41146b9e3614eda22064fbdde457750608b0cbc0ff2d904a39c5938b165fc2e7 modeler-1.1-src.tar.gz 92211 |