diff options
author | 2012-04-04 00:04:39 +0300 | |
---|---|---|
committer | 2012-04-04 00:04:39 +0300 | |
commit | bc7f426e35f048a9a2d06fd7b9f42ff0fde20fcf (patch) | |
tree | 14e86e577851ae64d8e5c93e65f9aba59b31fcad /dev-cpp | |
parent | app-misc/bdfresize: Keyword ~amd64 and EAPI bump. (diff) | |
download | sunrise-bc7f426e35f048a9a2d06fd7b9f42ff0fde20fcf.tar.gz sunrise-bc7f426e35f048a9a2d06fd7b9f42ff0fde20fcf.tar.bz2 sunrise-bc7f426e35f048a9a2d06fd7b9f42ff0fde20fcf.zip |
dev-cpp/cppcms: New Ebuild for bug #410383 thanks to hasufell, floppym, Tommy[D] and other people from #gentoo-sunrise
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/cppcms/ChangeLog | 11 | ||||
-rw-r--r-- | dev-cpp/cppcms/Manifest | 4 | ||||
-rw-r--r-- | dev-cpp/cppcms/cppcms-1.0.1.ebuild | 61 | ||||
-rw-r--r-- | dev-cpp/cppcms/metadata.xml | 21 |
4 files changed, 97 insertions, 0 deletions
diff --git a/dev-cpp/cppcms/ChangeLog b/dev-cpp/cppcms/ChangeLog new file mode 100644 index 000000000..0dffb34c7 --- /dev/null +++ b/dev-cpp/cppcms/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-cpp/cppcms +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*cppcms-1.0.1 (03 Apr 2012) + + 03 Apr 2012; Jauhien Piatlicki (jauhien) piatlicki@gmail.com + +cppcms-1.0.1.ebuild, +metadata.xml: + New Ebuild for bug #410383 thanks to hasufell, floppym, Tommy[D] and other + people from #gentoo-sunrise + diff --git a/dev-cpp/cppcms/Manifest b/dev-cpp/cppcms/Manifest new file mode 100644 index 000000000..20526e447 --- /dev/null +++ b/dev-cpp/cppcms/Manifest @@ -0,0 +1,4 @@ +DIST cppcms-1.0.1.tar.bz2 2332684 RMD160 5ac023411eb678b2b532fc2689d551ef035aab53 SHA1 09c31764e6c0aff00f99781a564453d99248a49b SHA256 4eef45ebcfaea1e87f6ec83b53bfa561a16f589b9a0ec4c4b42d16c7ccc95efa +EBUILD cppcms-1.0.1.ebuild 1596 RMD160 cd5ba5be7581e59d0663c5b2d4560c1ed11df90b SHA1 785301ab31099cb229b5616d9a5c464c196f0f05 SHA256 31c18325db929c446c221d7914af352666093cd59bc0a4597e75c09ff5777399 +MISC ChangeLog 354 RMD160 0702eeb40e513f6729096512c7c460d3e9bd7ea2 SHA1 231c4a0724ccd1c0f42ae02297151835eba41470 SHA256 75207b3561ea8ac6cfa3b5b21bac02f65103753a1fc07016ed9a330806a1b659 +MISC metadata.xml 847 RMD160 be2c2c1d6aadbfb06e830e9aba1a62e02fa2735f SHA1 9160510c6b208de4f2841854085428be7d7ad13e SHA256 ea018495353d351897302473d9b46bd28d363182f8eb02330ce38021ebd3c608 diff --git a/dev-cpp/cppcms/cppcms-1.0.1.ebuild b/dev-cpp/cppcms/cppcms-1.0.1.ebuild new file mode 100644 index 000000000..f5eb2920a --- /dev/null +++ b/dev-cpp/cppcms/cppcms-1.0.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +PYTHON_DEPEND="2" + +inherit cmake-utils multilib python + +DESCRIPTION="A Free C++ Web Development Framework aimed for Rapid Web Application Development" +HOMEPAGE="http://cppcms.sourceforge.net/wikipp/en/page/main" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+cache doc examples +fcgi gcrypt +http icu +prefork_cache +scgi +tcpcache" + +DEPEND="dev-libs/libpcre + sys-libs/zlib + gcrypt? ( dev-libs/libgcrypt ) + !gcrypt? ( dev-libs/openssl:0 ) + icu? ( dev-libs/icu ) + !icu? ( virtual/libiconv ) +" +RDEPEND="${DEPEND}" + +src_prepare() { + python_convert_shebangs 2 bin/cppcms_tmpl_cc +} + +src_configure() { + local mycmakeargs="-DDISABLE_STATIC=OFF + -DDISABLE_SHARED=OFF + -DDISABLE_GZIP=OFF + -DDISABLE_ICU_LOCALE=OFF + $(cmake-utils_use_disable !icu ICONV) + $(cmake-utils_use_disable gcrypt GCRYPT) + $(cmake-utils_use_disable !gcrypt OPENSSL) + $(cmake-utils_use_disable fcgi FCGI) + $(cmake-utils_use_disable scgi SCGI) + $(cmake-utils_use_disable http HTTP) + $(cmake-utils_use_disable prefork_cache PREFORK_CACHE) + $(cmake-utils_use_disable tcpcache TCPCACHE) + $(cmake-utils_use_disable cache CACHE) + -DLIBDIR=$(get_libdir)" + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + if use doc; then + dohtml -r doc/doxygen/html/* + fi + if use examples; then + rm examples/{autogenerated.doxy,examples.doxy,examples.txt,format.sh} || die + insinto /usr/share/doc/${PF} + doins -r examples + fi +} diff --git a/dev-cpp/cppcms/metadata.xml b/dev-cpp/cppcms/metadata.xml new file mode 100644 index 000000000..7b95b65b5 --- /dev/null +++ b/dev-cpp/cppcms/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + + <maintainer> + <email>maintainer-wanted@gentoo.org</email> + </maintainer> + + <use> + <flag name="cache">If unset disables caching system at all</flag> + <flag name="fcgi">Build FastCGI Server API</flag> + <flag name="gcrypt">Enables usage of <pkg>dev-libs/libgcrypt</pkg>, if unset <pkg>dev-libs/openssl</pkg> will be used</flag> + <flag name="http">Build internal HTTP server</flag> + <flag name="icu">Disables usage of <pkg>virtual/libiconv</pkg> (<pkg>dev-libs/icu</pkg> would be used instead)</flag> + <flag name="prefork_cache">Enables cache support for preforking modes</flag> + <flag name="scgi">Build SCGI Server API</flag> + <flag name="tcpcache">Enables distributed cache support</flag> + </use> + +</pkgmetadata> |