diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-java/commons-modeler | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-java/commons-modeler')
-rw-r--r-- | dev-java/commons-modeler/Manifest | 1 | ||||
-rw-r--r-- | dev-java/commons-modeler/commons-modeler-2.0.1.ebuild | 57 | ||||
-rw-r--r-- | dev-java/commons-modeler/metadata.xml | 8 |
3 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/commons-modeler/Manifest b/dev-java/commons-modeler/Manifest new file mode 100644 index 000000000000..653505cf0b19 --- /dev/null +++ b/dev-java/commons-modeler/Manifest @@ -0,0 +1 @@ +DIST commons-modeler-2.0.1-src.tar.gz 116785 SHA256 e10a7ac6b6827cba25f40fed43380051023097244fe34b012227aabd5d01e8f0 SHA512 8d1b0c34c63201b6eddece2211c68f549ee95e37b1a458e27a4b56b3750573bd54c803b1182a7afa2e4d0ac9a164f6afce0c05aab6aab6f1a6fefae7d7a7b216 WHIRLPOOL 6ffaac2d167c1acccb11fa2de547cbc922ac04b49ef828b00296d04dad384f9cc59b96e8b836a9d67ee26abc27097298ecb52d0b80103070e09774b4b8bb0612 diff --git a/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild b/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild new file mode 100644 index 000000000000..b93f78c1399c --- /dev/null +++ b/dev-java/commons-modeler/commons-modeler-2.0.1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=1 +JAVA_PKG_IUSE="doc source test" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A lib to make the setup of Java Management Extensions easier" +SRC_URI="mirror://apache/commons/modeler/source/${P}-src.tar.gz" +HOMEPAGE="http://commons.apache.org/modeler/" +LICENSE="Apache-2.0" +SLOT="0" + +# Provides ant tasks for ant to use +RDEPEND=">=virtual/jre-1.4 + dev-java/mx4j-core:3.0 + >=dev-java/commons-logging-1.0.3:0 + commons-digester? ( >=dev-java/commons-digester-1.4.1:0 )" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + source? ( app-arch/zip ) + test? ( dev-java/junit:0 )" + +KEYWORDS="amd64 ppc64 x86 ~x86-fbsd" +IUSE="commons-digester" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd "${S}" + + # Setup the build environment + use commons-digester && 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-core-3.0 mx4j.jar)" >> build.properties + + # This is something the build.xml tries to run. Could of course package it + # separately using dolauncher. Use the demo target for this. + #use examples && echo "jmxtools.jar=$(java-pkg_getjar mx4j-tools-3.0 mx4j-tools.jar)" >> build.properties + + mkdir dist || die +} + +EANT_BUILD_TARGET="prepare jar" + +src_test() { + eant test -Djunit.jar=$(java-pkg_getjar --build-only junit junit.jar) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + dodoc RELEASE-NOTES.txt || die + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/org +} diff --git a/dev-java/commons-modeler/metadata.xml b/dev-java/commons-modeler/metadata.xml new file mode 100644 index 000000000000..6b2a1753c60d --- /dev/null +++ b/dev-java/commons-modeler/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <use> + <flag name="commons-digester">Add support for the commons-digester based Mbeans Descriptor source</flag> + </use> +</pkgmetadata> |