# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-servers/tomcat/tomcat-7.0.59.ebuild,v 1.1 2015/02/10 11:42:30 fordfrog Exp $ EAPI=5 JAVA_PKG_IUSE="doc source test" inherit eutils java-pkg-2 java-ant-2 prefix user MY_P="apache-${P}-src" DESCRIPTION="Tomcat Servlet-3.0/JSP-2.2 Container" HOMEPAGE="http://tomcat.apache.org/" SRC_URI="mirror://apache/${PN}/tomcat-7/v${PV}/src/${MY_P}.tar.gz" LICENSE="Apache-2.0" SLOT="7" KEYWORDS="~amd64 ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" IUSE="extra-webapps websockets" RESTRICT="test" # can we run them on a production system? ECJ_SLOT="4.4" SAPI_SLOT="3.0" COMMON_DEP=" dev-java/eclipse-ecj:${ECJ_SLOT} ~dev-java/tomcat-servlet-api-${PV} extra-webapps? ( dev-java/jakarta-jstl:0 )" RDEPEND="${COMMON_DEP} websockets? ( >=virtual/jre-1.7 ) !websockets? ( >=virtual/jre-1.6 ) !