summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apache/mod_jk/mod_jk-1.2.19-r1.ebuild')
-rw-r--r--www-apache/mod_jk/mod_jk-1.2.19-r1.ebuild77
1 files changed, 0 insertions, 77 deletions
diff --git a/www-apache/mod_jk/mod_jk-1.2.19-r1.ebuild b/www-apache/mod_jk/mod_jk-1.2.19-r1.ebuild
deleted file mode 100644
index 09dbf537a5df..000000000000
--- a/www-apache/mod_jk/mod_jk-1.2.19-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_jk/mod_jk-1.2.19-r1.ebuild,v 1.1 2007/03/04 23:06:43 wltjr Exp $
-
-inherit apache-module autotools java-pkg-opt-2
-
-MY_P="tomcat-connectors-${PV}-src"
-
-KEYWORDS="amd64 ~ppc x86"
-
-DESCRIPTION="JK module for connecting Tomcat and Apache using the ajp13 protocol."
-HOMEPAGE="http://tomcat.apache.org/connectors-doc/"
-SRC_URI="mirror://apache/tomcat/tomcat-connectors/jk/source/jk-${PV}/${MY_P}.tar.gz"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="java"
-
-DEPEND="java? ( || ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) )"
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}/${MY_P}/native"
-
-APACHE1_MOD_FILE="${S}/apache-1.3/${PN}.so"
-APACHE1_MOD_CONF="88_${PN}"
-APACHE1_MOD_DEFINE="JK"
-
-APACHE2_MOD_FILE="${S}/apache-2.0/${PN}.so"
-APACHE2_MOD_CONF="88_${PN}"
-APACHE2_MOD_DEFINE="JK"
-
-DOCFILES="CHANGES.txt README"
-
-need_apache
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- eautoreconf
-}
-
-src_compile() {
- local apxs
- local java_args
- use apache2 && apxs="${APXS2}"
- use apache2 || apxs="${APXS1}"
- use java && java_args="--with-java-home=${JAVA_HOME} \
- --with-java-platform=2 --enable-jni"
-
- econf \
- --with-apxs=${apxs} \
- --with-apr-config=/usr/bin/apr-config \
- ${java_args} \
- || die "econf failed"
- emake LIBTOOL="/bin/sh $(pwd)/libtool --silent" || die "emake failed"
-}
-
-src_install() {
- # install the workers.properties file
- insinto "${APACHE_CONFDIR}"
- doins "${FILESDIR}/jk-workers.properties"
-
- # if using java, install the jni stuff
- if use java ; then
- insinto "${APACHE_MODULESDIR}"
- doins "${S}/jni/jk_jnicb.so"
- fi
-
- # call the nifty default src_install :-)
- apache-module_src_install
-}
-
-pkg_postinst() {
- elog "Tomcat is not a dependency of mod_jk any longer, if you intend"
- elog "to use it with Tomcat, you have to merge www-servers/tomcat on"
- elog "your own."
-}