summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Volynets <iluxa@gentoo.org>2008-11-11 09:33:15 +0000
committerIlya Volynets <iluxa@gentoo.org>2008-11-11 09:33:15 +0000
commit6845f8df8a78a12f3d1281d02039b27bb1b72f83 (patch)
treebe48ef2807459b82d4998c91a0ec12413b52f75f
parentAdd sptk 3.5.8.6 (diff)
downloadgentoo-2-6845f8df8a78a12f3d1281d02039b27bb1b72f83.tar.gz
gentoo-2-6845f8df8a78a12f3d1281d02039b27bb1b72f83.tar.bz2
gentoo-2-6845f8df8a78a12f3d1281d02039b27bb1b72f83.zip
-Add cppserv-0.1.116
- Remove cppserv-0.1.113 (Portage version: 2.1.4.5)
-rw-r--r--dev-cpp/cppserv/ChangeLog9
-rw-r--r--dev-cpp/cppserv/cppserv-0.1.116.ebuild (renamed from dev-cpp/cppserv/cppserv-0.1.113.ebuild)14
2 files changed, 17 insertions, 6 deletions
diff --git a/dev-cpp/cppserv/ChangeLog b/dev-cpp/cppserv/ChangeLog
index 561f4cde83fe..29298c169547 100644
--- a/dev-cpp/cppserv/ChangeLog
+++ b/dev-cpp/cppserv/ChangeLog
@@ -1,6 +1,13 @@
# 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.24 2008/10/09 09:44:41 iluxa Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.25 2008/11/11 09:33:15 iluxa Exp $
+
+*cppserv-0.1.116 (11 Nov 2008)
+
+ 11 Nov 2008; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org>
+ -cppserv-0.1.113.ebuild, +cppserv-0.1.116.ebuild:
+ Add cppserv-0.1.116
+ Remove cppserv-0.1.113
09 Oct 2008; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org>
cppserv-0.1.115.ebuild:
diff --git a/dev-cpp/cppserv/cppserv-0.1.113.ebuild b/dev-cpp/cppserv/cppserv-0.1.116.ebuild
index 8fe8a2f04253..7ed22be639d8 100644
--- a/dev-cpp/cppserv/cppserv-0.1.113.ebuild
+++ b/dev-cpp/cppserv/cppserv-0.1.116.ebuild
@@ -1,8 +1,8 @@
# 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 $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/cppserv-0.1.116.ebuild,v 1.1 2008/11/11 09:33:15 iluxa Exp $
-inherit eutils apache-module
+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"
@@ -24,16 +24,20 @@ DEPEND="net-libs/socket++
need_apache2
-src_compile() {
+cppserv_build_flags() {
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"
+ 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() {
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"
+ 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"
}