diff options
author | Benedikt Boehm <hollow@gentoo.org> | 2009-09-17 08:38:31 +0000 |
---|---|---|
committer | Benedikt Boehm <hollow@gentoo.org> | 2009-09-17 08:38:31 +0000 |
commit | 01749807eebe248e39ffc8fff635d6d9e626bb43 (patch) | |
tree | 4d2e23f45f290ae43c692edcc0c4c4beb160cd91 /www-apache/mod_cplusplus/mod_cplusplus-2.0.1.ebuild | |
parent | Added dev-util/gtk-doc-am, as eautoreconf needs it. That fixes bug #276533 (diff) | |
download | gentoo-2-01749807eebe248e39ffc8fff635d6d9e626bb43.tar.gz gentoo-2-01749807eebe248e39ffc8fff635d6d9e626bb43.tar.bz2 gentoo-2-01749807eebe248e39ffc8fff635d6d9e626bb43.zip |
version bump
(Portage version: 2.2_rc40/cvs/Linux i686)
Diffstat (limited to 'www-apache/mod_cplusplus/mod_cplusplus-2.0.1.ebuild')
-rw-r--r-- | www-apache/mod_cplusplus/mod_cplusplus-2.0.1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
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 +} |