diff options
Diffstat (limited to 'dev-java/hessian/hessian-3.0.8-r5.ebuild')
-rw-r--r-- | dev-java/hessian/hessian-3.0.8-r5.ebuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/dev-java/hessian/hessian-3.0.8-r5.ebuild b/dev-java/hessian/hessian-3.0.8-r5.ebuild index 7586edd5ccca..65bf599a33b0 100644 --- a/dev-java/hessian/hessian-3.0.8-r5.ebuild +++ b/dev-java/hessian/hessian-3.0.8-r5.ebuild @@ -1,8 +1,9 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/hessian/hessian-3.0.8-r5.ebuild,v 1.1 2008/02/14 01:16:18 wltjr Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/hessian/hessian-3.0.8-r5.ebuild,v 1.2 2008/02/14 01:46:08 betelgeuse Exp $ EAPI=1 +JAVA_PKG_IUSE="doc source" inherit java-pkg-2 java-ant-2 @@ -13,16 +14,14 @@ SRC_URI="http://www.caucho.com/hessian/download/${P}-src.jar" LICENSE="Apache-1.1" SLOT="3.0.8" KEYWORDS="~amd64 ~x86" -IUSE="doc source" +IUSE="" COMMON_DEP="java-virtuals/servlet-api:2.3 - ~dev-java/caucho-services-${PV}" + dev-java/caucho-services:3.0" RDEPEND=">=virtual/jre-1.4 ${COMMON_DEP}" DEPEND=">=virtual/jdk-1.4 app-arch/unzip - source? ( app-arch/zip ) - dev-java/ant-core ${COMMON_DEP}" src_unpack() { @@ -39,15 +38,13 @@ src_unpack() { epatch "${FILESDIR}/3.0.8-java5.patch" # No included ant script! Bad Java developer, bad! - cp ${FILESDIR}/build-${PV}.xml build.xml + cp "${FILESDIR}/build-${PV}.xml" build.xml # Populate classpath echo "classpath=$(java-pkg_getjars servlet-api-2.3):$(java-pkg_getjars caucho-services-3.0)" >> build.properties } -src_compile() { - eant -Dproject.name=${PN} jar $(use_doc) -} +EANT_EXTRA_ARGS="-Dproject.name=${PN}" src_install() { java-pkg_dojar dist/${PN}.jar |