diff options
author | Ilya Volynets <iluxa@gentoo.org> | 2009-05-19 12:27:30 +0000 |
---|---|---|
committer | Ilya Volynets <iluxa@gentoo.org> | 2009-05-19 12:27:30 +0000 |
commit | cdff55d86059e383dda19943efecd11a597d5199 (patch) | |
tree | 93d55d20ac813279b01bcf0b85680f1df0207960 /dev-cpp/cppserv | |
parent | netbeans-6.7_beta-r6: Added javacup to ANT_TASKS when building php module (diff) | |
download | gentoo-2-cdff55d86059e383dda19943efecd11a597d5199.tar.gz gentoo-2-cdff55d86059e383dda19943efecd11a597d5199.tar.bz2 gentoo-2-cdff55d86059e383dda19943efecd11a597d5199.zip |
Add cppserv-0.2.10
(Portage version: 2.1.6.11/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp/cppserv')
-rw-r--r-- | dev-cpp/cppserv/ChangeLog | 8 | ||||
-rw-r--r-- | dev-cpp/cppserv/cppserv-0.2.10.ebuild | 46 |
2 files changed, 53 insertions, 1 deletions
diff --git a/dev-cpp/cppserv/ChangeLog b/dev-cpp/cppserv/ChangeLog index 44941d8d48eb..ef811e9acdeb 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.43 2009/05/11 15:44:57 iluxa Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/cppserv/ChangeLog,v 1.44 2009/05/19 12:27:30 iluxa Exp $ + +*cppserv-0.2.10 (19 May 2009) + + 19 May 2009; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org> + +cppserv-0.2.10.ebuild: + Verbump 11 May 2009; Ilya A. Volynets-Evenbakh <iluxa@gentoo.org> -cppserv-0.2.4.ebuild, -cppserv-0.2.5.ebuild: diff --git a/dev-cpp/cppserv/cppserv-0.2.10.ebuild b/dev-cpp/cppserv/cppserv-0.2.10.ebuild new file mode 100644 index 000000000000..88a6f9c99f30 --- /dev/null +++ b/dev-cpp/cppserv/cppserv-0.2.10.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.10.ebuild,v 1.1 2009/05/19 12:27:30 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 +} |