diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2013-10-23 18:02:25 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2013-10-23 18:02:25 +0000 |
commit | 163b0565a31cd62215528878a77f8b46af1996c2 (patch) | |
tree | 8fc01f7a33bd9d688e1273099ddac3b81041a383 /dev-java/glassfish-interceptor-api | |
parent | Use the virtual instead for XML RPC. (diff) | |
download | gentoo-2-163b0565a31cd62215528878a77f8b46af1996c2.tar.gz gentoo-2-163b0565a31cd62215528878a77f8b46af1996c2.tar.bz2 gentoo-2-163b0565a31cd62215528878a77f8b46af1996c2.zip |
New ebuild for dev-java/glassfish-interceptor-api, project GlassFish Interceptor API; indirect dependency of dev-java/spring-context and dev-java/struts-xwork.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'dev-java/glassfish-interceptor-api')
4 files changed, 69 insertions, 0 deletions
diff --git a/dev-java/glassfish-interceptor-api/ChangeLog b/dev-java/glassfish-interceptor-api/ChangeLog new file mode 100644 index 000000000000..f14d46db3047 --- /dev/null +++ b/dev-java/glassfish-interceptor-api/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-java/glassfish-interceptor-api +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-interceptor-api/ChangeLog,v 1.1 2013/10/23 18:02:25 tomwij Exp $ + +*glassfish-interceptor-api-3.1 (23 Oct 2013) + + 23 Oct 2013; Tom Wijsman <TomWij@gentoo.org> + +files/glassfish-interceptor-api-3.1-build.xml.patch, + +glassfish-interceptor-api-3.1.ebuild, +metadata.xml: + New ebuild for dev-java/glassfish-interceptor-api, project GlassFish + Interceptor API; indirect dependency of dev-java/spring-context and dev-java + /struts-xwork. diff --git a/dev-java/glassfish-interceptor-api/files/glassfish-interceptor-api-3.1-build.xml.patch b/dev-java/glassfish-interceptor-api/files/glassfish-interceptor-api-3.1-build.xml.patch new file mode 100644 index 000000000000..1a912da629c2 --- /dev/null +++ b/dev-java/glassfish-interceptor-api/files/glassfish-interceptor-api-3.1-build.xml.patch @@ -0,0 +1,10 @@ +--- a/maven-build.xml ++++ b/maven-build.xml +@@ -166,7 +166,6 @@ + <jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar" + compress="true" + index="false" +- manifest="/tmp/glassfish-interceptor-api-3.1/target/classes/META-INF/MANIFEST.MF" + basedir="${maven.build.outputDir}" + excludes="**/package.html"/> + </target> diff --git a/dev-java/glassfish-interceptor-api/glassfish-interceptor-api-3.1.ebuild b/dev-java/glassfish-interceptor-api/glassfish-interceptor-api-3.1.ebuild new file mode 100644 index 000000000000..93c502c959ef --- /dev/null +++ b/dev-java/glassfish-interceptor-api/glassfish-interceptor-api-3.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-interceptor-api/glassfish-interceptor-api-3.1.ebuild,v 1.1 2013/10/23 18:02:25 tomwij Exp $ + +EAPI="5" + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +TOMEE_PV="1.5.2" + +DESCRIPTION="Project GlassFish Interceptor API" +HOMEPAGE="https://glassfish.java.net/" +SRC_URI="http://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +CDEPEND="" + +DEPEND=">=virtual/jdk-1.7 + ${CDEPEND}" + +RDEPEND=">=virtual/jre-1.7 + ${CDEPEND}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH="" +JAVA_PKG_BSFIX_NAME="maven-build.xml" + +java_prepare() { + epatch "${FILESDIR}"/${P}-build.xml.patch +} + +src_install() { + java-pkg_newjar target/javax.interceptor-api-${PV}.jar + + use doc && java-pkg_dojavadoc target/site/apidocs + use source && java-pkg_dosrc src/main/java/javax +}
\ No newline at end of file diff --git a/dev-java/glassfish-interceptor-api/metadata.xml b/dev-java/glassfish-interceptor-api/metadata.xml new file mode 100644 index 000000000000..838c00a4a448 --- /dev/null +++ b/dev-java/glassfish-interceptor-api/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> |