summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Volynets <iluxa@gentoo.org>2008-06-27 18:20:50 +0000
committerIlya Volynets <iluxa@gentoo.org>2008-06-27 18:20:50 +0000
commit861f9d3dd6f7d7aac6a6435d660bb064b3e68902 (patch)
tree1c46a162aa2d58fdfaa3b32102ce870d1f4c9b93 /dev-cpp
parentSparc stable, Bug #229541. Does what it says it does. (diff)
downloadgentoo-2-861f9d3dd6f7d7aac6a6435d660bb064b3e68902.tar.gz
gentoo-2-861f9d3dd6f7d7aac6a6435d660bb064b3e68902.tar.bz2
gentoo-2-861f9d3dd6f7d7aac6a6435d660bb064b3e68902.zip
Add cppserv-0.1.113
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/cppserv/ChangeLog8
-rw-r--r--dev-cpp/cppserv/cppserv-0.1.113.ebuild39
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-cpp/cppserv/ChangeLog b/dev-cpp/cppserv/ChangeLog
index de936fbea830..3f0a3454c148 100644
--- a/dev-cpp/cppserv/ChangeLog
+++ b/dev-cpp/cppserv/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-cpp/cppserv
# Copyright 2006-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.21 2008/06/20 15:13:14 iluxa Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.22 2008/06/27 18:20:50 iluxa Exp $
+
+*cppserv-0.1.113 (27 Jun 2008)
+
+ 27 Jun 2008; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org>
+ +cppserv-0.1.113.ebuild:
+ Add cppserv-0.1.113
*cppserv-0.1.112 (20 Jun 2008)
diff --git a/dev-cpp/cppserv/cppserv-0.1.113.ebuild b/dev-cpp/cppserv/cppserv-0.1.113.ebuild
new file mode 100644
index 000000000000..8fe8a2f04253
--- /dev/null
+++ b/dev-cpp/cppserv/cppserv-0.1.113.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2008-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/cppserv-0.1.113.ebuild,v 1.1 2008/06/27 18:20:50 iluxa Exp $
+
+inherit eutils apache-module
+
+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
+"
+
+need_apache2
+
+src_compile() {
+ local CPPSERV_DBG_FLAG
+ use debug && CPPSERV_DBG_FLAG="CPPFLAGS=-DMODCSERV_DEBUG"
+ emake PREFIX=/usr ADON_VERBOSE=1 ADON_BUILD=release APRCFG_PATH=/usr/bin/apr-1-config ${CPPSERV_DBG_FLAG} || die "emake failed. Bug iluxa on #cppserv on irc.freenode.net immediately"
+}
+
+src_install() {
+ local CPPSERV_DBG_FLAG
+ use debug && CPPSERV_DBG_FLAG="CPPFLAGS=-DMODCSERV_DEBUG"
+ emake PREFIX=/usr ADON_BUILD=release APRCFG_PATH=/usr/bin/apr-1-config 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"
+}