From 9c02bf4aa6008b4eb0f4c85f0c1e8d4a7e604227 Mon Sep 17 00:00:00 2001 From: Ilya Volynets Date: Tue, 11 Aug 2009 15:08:09 +0000 Subject: gcc-4.4 compatible version of CPPSERV (Portage version: 2.1.6.13/cvs/Linux x86_64) --- dev-cpp/cppserv/ChangeLog | 12 ++++++++- dev-cpp/cppserv/cppserv-0.2.12.ebuild | 46 ----------------------------------- dev-cpp/cppserv/cppserv-0.2.13.ebuild | 46 +++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 47 deletions(-) delete mode 100644 dev-cpp/cppserv/cppserv-0.2.12.ebuild create mode 100644 dev-cpp/cppserv/cppserv-0.2.13.ebuild (limited to 'dev-cpp') diff --git a/dev-cpp/cppserv/ChangeLog b/dev-cpp/cppserv/ChangeLog index 8880c2ae43fa..87e4ee91b5a6 100644 --- a/dev-cpp/cppserv/ChangeLog +++ b/dev-cpp/cppserv/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for dev-cpp/cppserv # Copyright 2006-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.47 2009/06/13 21:43:19 iluxa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.48 2009/08/11 15:08:09 iluxa Exp $ + + 11 Aug 2009; Ilya A. Volynets-Evenbakh + -cppserv-0.2.12.ebuild, +cppserv-0.2.13.ebuild: + Remove old version + +*cppserv-0.2.13 (11 Aug 2009) + + 11 Aug 2009; Ilya A. Volynets-Evenbakh + +cppserv-0.2.13.ebuild: + Add gcc-4.4 compatible version *cppserv-0.2.12 (13 Jun 2009) diff --git a/dev-cpp/cppserv/cppserv-0.2.12.ebuild b/dev-cpp/cppserv/cppserv-0.2.12.ebuild deleted file mode 100644 index f3e0d071dced..000000000000 --- a/dev-cpp/cppserv/cppserv-0.2.12.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 2008-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/cppserv-0.2.12.ebuild,v 1.1 2009/06/13 21:43:19 iluxa Exp $ - -inherit eutils apache-module multilib - -DESCRIPTION="CPPSERV is an application server providing Servlet-like API in C++ and a C++ Server Pages parser." -HOMEPAGE="http://www.total-knowledge.com/progs/cppserv" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~alpha ~x86 ~mips ~amd64" -IUSE="debug" - -APACHE2_MOD_CONF="75_mod_cserv" -APACHE2_MOD_DEFINE="CPPSERV" - -DEPEND="net-libs/socket++ - >=dev-cpp/sptk-3.5.6 - >=www-servers/apache-2 - >=dev-libs/apr-1.2 - dev-libs/boost -" -RDEPEND="${DEPEND}" - -need_apache2 - -cppserv_build_flags() { - local CPPSERV_DBG_FLAG - use debug && CPPSERV_DBG_FLAG="CPPFLAGS=-DMODCSERV_DEBUG" - echo PREFIX=/usr LIB=/$(get_libdir) ADON_VERBOSE=1 ADON_BUILD=release APRCFG_PATH=/usr/bin/apr-1-config ${CPPSERV_DBG_FLAG} -} - -src_compile() { - emake $(cppserv_build_flags) || die "emake failed. Bug iluxa on #cppserv on irc.freenode.net immediately" -} - -src_install() { - emake $(cppserv_build_flags) DESTDIR="${D}" ${CPPSERV_DBG_FLAG} install || die "emake install failed. Bug iluxa on #cppserv on irc.freenode.net immediately" - insinto "${APACHE_MODULES_CONFDIR}" - doins "${FILESDIR}/${APACHE2_MOD_CONF}.conf" || die "internal ebuild error: \"${FILESDIR}/${APACHE2_MOD_CONF}.conf\" not found. Bug iluxa on #cppserv on irc.freenode.net immediately" -} - -src_test() { - emake $(cppserv_build_flags) check -} diff --git a/dev-cpp/cppserv/cppserv-0.2.13.ebuild b/dev-cpp/cppserv/cppserv-0.2.13.ebuild new file mode 100644 index 000000000000..6351ea8c024d --- /dev/null +++ b/dev-cpp/cppserv/cppserv-0.2.13.ebuild @@ -0,0 +1,46 @@ +# Copyright 2008-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/cppserv-0.2.13.ebuild,v 1.1 2009/08/11 15:08:09 iluxa Exp $ + +inherit eutils apache-module multilib + +DESCRIPTION="CPPSERV is an application server providing Servlet-like API in C++ and a C++ Server Pages parser." +HOMEPAGE="http://www.total-knowledge.com/progs/cppserv" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~alpha ~x86 ~mips ~amd64" +IUSE="debug" + +APACHE2_MOD_CONF="75_mod_cserv" +APACHE2_MOD_DEFINE="CPPSERV" + +DEPEND="net-libs/socket++ + >=dev-cpp/sptk-3.5.6 + >=www-servers/apache-2 + >=dev-libs/apr-1.2 + dev-libs/boost +" +RDEPEND="${DEPEND}" + +need_apache2 + +cppserv_build_flags() { + local CPPSERV_DBG_FLAG + use debug && CPPSERV_DBG_FLAG="CPPFLAGS=-DMODCSERV_DEBUG" + echo PREFIX=/usr LIB=/$(get_libdir) ADON_VERBOSE=1 ADON_BUILD=release APRCFG_PATH=/usr/bin/apr-1-config ${CPPSERV_DBG_FLAG} +} + +src_compile() { + emake $(cppserv_build_flags) || die "emake failed. Bug iluxa on #cppserv on irc.freenode.net immediately" +} + +src_install() { + emake $(cppserv_build_flags) DESTDIR="${D}" ${CPPSERV_DBG_FLAG} install || die "emake install failed. Bug iluxa on #cppserv on irc.freenode.net immediately" + insinto "${APACHE_MODULES_CONFDIR}" + doins "${FILESDIR}/${APACHE2_MOD_CONF}.conf" || die "internal ebuild error: \"${FILESDIR}/${APACHE2_MOD_CONF}.conf\" not found. Bug iluxa on #cppserv on irc.freenode.net immediately" +} + +src_test() { + emake $(cppserv_build_flags) check +} -- cgit v1.2.3-65-gdbad