summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apache/mod_caucho/ChangeLog8
-rw-r--r--www-apache/mod_caucho/mod_caucho-3.2.1.ebuild62
2 files changed, 69 insertions, 1 deletions
diff --git a/www-apache/mod_caucho/ChangeLog b/www-apache/mod_caucho/ChangeLog
index 6f4ef17e8fb2..f664cf656cc7 100644
--- a/www-apache/mod_caucho/ChangeLog
+++ b/www-apache/mod_caucho/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apache/mod_caucho
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/ChangeLog,v 1.42 2009/01/10 15:14:13 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_caucho/ChangeLog,v 1.43 2009/02/02 23:34:49 nelchael Exp $
+
+*mod_caucho-3.2.1 (02 Feb 2009)
+
+ 02 Feb 2009; Krzysztof Pawlik <nelchael@gentoo.org>
+ +mod_caucho-3.2.1.ebuild:
+ Version bump.
*mod_caucho-3.1.8 (10 Jan 2009)
diff --git a/www-apache/mod_caucho/mod_caucho-3.2.1.ebuild b/www-apache/mod_caucho/mod_caucho-3.2.1.ebuild
new file mode 100644
index 000000000000..448e5f1a4228
--- /dev/null
+++ b/www-apache/mod_caucho/mod_caucho-3.2.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2009 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.2.1.ebuild,v 1.1 2009/02/02 23:34:49 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
+
+ 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."
+
+}