summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2008-05-10 20:18:05 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2008-05-10 20:18:05 +0000
commitb8ae4d7a67499336a598e20277683f235c114aa6 (patch)
tree84fee470b4f7e48f6c219097ccde62d4db886808 /www-apache/mod_caucho/mod_caucho-3.1.6.ebuild
parentVersion bump, removed old versions. (diff)
downloadgentoo-2-b8ae4d7a67499336a598e20277683f235c114aa6.tar.gz
gentoo-2-b8ae4d7a67499336a598e20277683f235c114aa6.tar.bz2
gentoo-2-b8ae4d7a67499336a598e20277683f235c114aa6.zip
Version bump, removed old versions.
(Portage version: 2.1.5_rc10)
Diffstat (limited to 'www-apache/mod_caucho/mod_caucho-3.1.6.ebuild')
-rw-r--r--www-apache/mod_caucho/mod_caucho-3.1.6.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/www-apache/mod_caucho/mod_caucho-3.1.6.ebuild b/www-apache/mod_caucho/mod_caucho-3.1.6.ebuild
new file mode 100644
index 000000000000..3c6e0d577a1a
--- /dev/null
+++ b/www-apache/mod_caucho/mod_caucho-3.1.6.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/mod_caucho-3.1.6.ebuild,v 1.1 2008/05/10 20:18:05 nelchael Exp $
+
+inherit eutils apache-module autotools
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DESCRIPTION="mod_caucho connects Resin and Apache2."
+HOMEPAGE="http://www.caucho.com/"
+SRC_URI="http://www.caucho.com/download/resin-${PV}-src.zip
+ mirror://gentoo/resin-gentoo-patches-${PV}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/resin-${PV}"
+
+# See apache-module.eclass for more information.
+APACHE2_MOD_CONF="88_${PN}"
+APACHE2_MOD_DEFINE="CAUCHO"
+
+need_apache2
+
+DEPEND="${DEPEND}
+ app-arch/unzip"
+
+src_unpack() {
+
+ unpack ${A}
+
+ cd "${S}"
+
+ for i in "${WORKDIR}"/${PV}/mod_caucho-*; do
+ epatch "${i}"
+ done
+ epatch "${WORKDIR}/${PV}/resin-${PV}-configure.ac.patch"
+
+ eautoreconf
+ chmod 755 ./configure
+
+}
+
+src_compile() {
+
+ econf --with-apxs=${APXS} || die "econf failed"
+ emake -j1 -C "${S}/modules/c/src/apache2/" || die "emake failed"
+
+}
+
+src_install() {
+
+ cd "${S}/modules/c/src/apache2"
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+
+ insinto "${APACHE_MODULES_CONFDIR}"
+ doins "${FILESDIR}/${APACHE2_MOD_CONF}.conf" \
+ || die "internal ebuild error: ${APACHE2_MOD_CONF}.conf not found."
+
+}