diff options
author | Ilya Volynets <iluxa@gentoo.org> | 2009-02-03 00:25:47 +0000 |
---|---|---|
committer | Ilya Volynets <iluxa@gentoo.org> | 2009-02-03 00:25:47 +0000 |
commit | e61bdb32efe107c35c24586d0a0ecff7b01d2623 (patch) | |
tree | 7b70f2e97a3495867aea556743cc4d40313475c7 /dev-cpp | |
parent | x11-apps/mesa-progs: fix ignored LDFLAGS (fixes bug #233298, thanks to Arfrev... (diff) | |
download | gentoo-2-e61bdb32efe107c35c24586d0a0ecff7b01d2623.tar.gz gentoo-2-e61bdb32efe107c35c24586d0a0ecff7b01d2623.tar.bz2 gentoo-2-e61bdb32efe107c35c24586d0a0ecff7b01d2623.zip |
Add cppserv-0.2.2 ebuild
(Portage version: 2.1.6.4/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/cppserv/ChangeLog | 8 | ||||
-rw-r--r-- | dev-cpp/cppserv/cppserv-0.2.2.ebuild | 43 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-cpp/cppserv/ChangeLog b/dev-cpp/cppserv/ChangeLog index b8183d9aaec1..86d9525a04b0 100644 --- a/dev-cpp/cppserv/ChangeLog +++ b/dev-cpp/cppserv/ChangeLog @@ -1,6 +1,12 @@ # 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.31 2009/01/06 15:39:27 iluxa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.32 2009/02/03 00:25:47 iluxa Exp $ + +*cppserv-0.2.2 (03 Feb 2009) + + 03 Feb 2009; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org> + +cppserv-0.2.2.ebuild: + Add cppserv-0.2.2 06 Jan 2009; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org> -cppserv-0.1.115.ebuild, -cppserv-0.1.116.ebuild, -cppserv-0.1.117.ebuild, diff --git a/dev-cpp/cppserv/cppserv-0.2.2.ebuild b/dev-cpp/cppserv/cppserv-0.2.2.ebuild new file mode 100644 index 000000000000..98b4941efdc5 --- /dev/null +++ b/dev-cpp/cppserv/cppserv-0.2.2.ebuild @@ -0,0 +1,43 @@ +# 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.2.ebuild,v 1.1 2009/02/03 00:25:47 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 +" + +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() { + local CPPSERV_DBG_FLAG + use debug && CPPSERV_DBG_FLAG="CPPFLAGS=-DMODCSERV_DEBUG" + 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" +} |