diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2009-05-09 15:29:15 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2009-05-09 15:29:15 +0000 |
commit | 05bce565dc66841a248169820740c8c78fb3f43b (patch) | |
tree | fe94e6ea4624efc1e2468ea29c8bba4a60b930a6 /dev-java/glassfish-deployment-api/glassfish-deployment-api-1.2.ebuild | |
parent | Initial commit for qchartdiary application (diff) | |
download | gentoo-2-05bce565dc66841a248169820740c8c78fb3f43b.tar.gz gentoo-2-05bce565dc66841a248169820740c8c78fb3f43b.tar.bz2 gentoo-2-05bce565dc66841a248169820740c8c78fb3f43b.zip |
Add J2EE deployment-api built from Glassfish sources.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/glassfish-deployment-api/glassfish-deployment-api-1.2.ebuild')
-rw-r--r-- | dev-java/glassfish-deployment-api/glassfish-deployment-api-1.2.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dev-java/glassfish-deployment-api/glassfish-deployment-api-1.2.ebuild b/dev-java/glassfish-deployment-api/glassfish-deployment-api-1.2.ebuild new file mode 100644 index 000000000000..33b21f12bb22 --- /dev/null +++ b/dev-java/glassfish-deployment-api/glassfish-deployment-api-1.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/glassfish-deployment-api/glassfish-deployment-api-1.2.ebuild,v 1.1 2009/05/09 15:29:15 nelchael Exp $ + +EAPI="2" +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_PV=${PV/./_} + +DESCRIPTION="J2EE Application Deployment Specification" +HOMEPAGE="https://glassfish.dev.java.net/" +LICENSE="sun-bcla-j2ee-deployment" +SLOT="1.2" + +KEYWORDS="~amd64 ~ppc ~x86" + +GLASSFISH_MAJOR="v2ur2" +GLASSFISH_MINOR="b04" +SRC_URI="http://download.java.net/javaee5/${GLASSFISH_MAJOR}/promoted/source/glassfish-${GLASSFISH_MAJOR}-${GLASSFISH_MINOR}-src.zip" + +IUSE="" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip" +RDEPEND=">=virtual/jre-1.5" + +S="${WORKDIR}/glassfish/deployment-api/" +EANT_BUILD_TARGET="all" + +src_prepare() { + default + + cd "${S}" + epatch "${FILESDIR}/${P}-build.xml.patch" +} + +src_install() { + java-pkg_newjar "deployment-api.jar" + use source && java-pkg_dosrc src/java/javax +} |