summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apache/mod_cplusplus/ChangeLog10
-rw-r--r--www-apache/mod_cplusplus/mod_cplusplus-2.0.1.ebuild48
2 files changed, 56 insertions, 2 deletions
diff --git a/www-apache/mod_cplusplus/ChangeLog b/www-apache/mod_cplusplus/ChangeLog
index 8c732810d86d..bb61508022dc 100644
--- a/www-apache/mod_cplusplus/ChangeLog
+++ b/www-apache/mod_cplusplus/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apache/mod_cplusplus
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_cplusplus/ChangeLog,v 1.4 2008/01/31 18:42:23 hollow Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_cplusplus/ChangeLog,v 1.5 2009/09/17 08:38:31 hollow Exp $
+
+*mod_cplusplus-2.0.1 (17 Sep 2009)
+
+ 17 Sep 2009; Benedikt Böhm <hollow@gentoo.org>
+ +mod_cplusplus-2.0.1.ebuild:
+ version bump
31 Jan 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml,
mod_cplusplus-1.5.4.ebuild:
diff --git a/www-apache/mod_cplusplus/mod_cplusplus-2.0.1.ebuild b/www-apache/mod_cplusplus/mod_cplusplus-2.0.1.ebuild
new file mode 100644
index 000000000000..48b6eb54a36b
--- /dev/null
+++ b/www-apache/mod_cplusplus/mod_cplusplus-2.0.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_cplusplus/mod_cplusplus-2.0.1.ebuild,v 1.1 2009/09/17 08:38:31 hollow Exp $
+
+EAPI="2"
+
+inherit apache-module autotools
+
+DESCRIPTION="Easily implement object oriented apache-2.0 handlers with C++"
+HOMEPAGE="http://modcplusplus.sourceforge.net/"
+SRC_URI="mirror://sourceforge/modcplusplus/modcplusplus-${PV}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=""
+DEPEND=""
+
+APACHE2_MOD_CONF="51_${PN}"
+APACHE2_MOD_DEFINE="CPLUSPLUS"
+
+DOCFILES="README"
+
+need_apache2
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ sed -i -e 's/-Werror //g' configure.in
+ eautoreconf
+}
+
+src_configure() {
+ econf --with-apxs=${APXS} || die "econf failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ insinto /usr/include/apache2
+ doins "${S}"/include/*.h
+ mv "${S}"/src/.libs/{libmod_cplusplus-1.1.0,mod_cplusplus}.so
+ apache-module_src_install
+}