diff options
author | Andrey Kislyuk <weaver@gentoo.org> | 2011-12-24 01:02:35 +0000 |
---|---|---|
committer | Andrey Kislyuk <weaver@gentoo.org> | 2011-12-24 01:02:35 +0000 |
commit | 154906f82742febfe27b81147094f9c1f6b2519d (patch) | |
tree | a214364d4ca67247bedffce93fe738014ebff8f3 /dev-lang/v8cgi | |
parent | Stable for AMD64, wrt security bug #395715 (diff) | |
download | gentoo-2-154906f82742febfe27b81147094f9c1f6b2519d.tar.gz gentoo-2-154906f82742febfe27b81147094f9c1f6b2519d.tar.bz2 gentoo-2-154906f82742febfe27b81147094f9c1f6b2519d.zip |
New package, import from roxxorx-gentoo-overlay, thanks to Lucio Asnaghi (https://github.com/kunitoki)
(Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/v8cgi')
-rw-r--r-- | dev-lang/v8cgi/ChangeLog | 11 | ||||
-rw-r--r-- | dev-lang/v8cgi/Manifest | 4 | ||||
-rw-r--r-- | dev-lang/v8cgi/metadata.xml | 11 | ||||
-rw-r--r-- | dev-lang/v8cgi/v8cgi-0.9.2.ebuild | 100 |
4 files changed, 126 insertions, 0 deletions
diff --git a/dev-lang/v8cgi/ChangeLog b/dev-lang/v8cgi/ChangeLog new file mode 100644 index 000000000000..e2a10c3f5db3 --- /dev/null +++ b/dev-lang/v8cgi/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-lang/v8cgi +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8cgi/ChangeLog,v 1.1 2011/12/24 01:02:35 weaver Exp $ + +*v8cgi-0.9.2 (24 Dec 2011) + + 24 Dec 2011; Andrey Kislyuk <weaver@gentoo.org> +v8cgi-0.9.2.ebuild, + +metadata.xml: + New package, import from roxxorx-gentoo-overlay, thanks to Lucio Asnaghi + (https://github.com/kunitoki) + diff --git a/dev-lang/v8cgi/Manifest b/dev-lang/v8cgi/Manifest new file mode 100644 index 000000000000..89d109f0c4ca --- /dev/null +++ b/dev-lang/v8cgi/Manifest @@ -0,0 +1,4 @@ +DIST v8cgi-0.9.2-src.tar.gz 11665177 RMD160 609ab965b5ca5bc07c2f85fcbe8d852fbd8f64d0 SHA1 790aa7d177cccc94e2cb3ba4ca06213765094f01 SHA256 74b469f9513a2bea34b53439841871334cd2da6fb7ce0e49fbf6ea958c6e39d4 +EBUILD v8cgi-0.9.2.ebuild 2059 RMD160 0d7b378bf80041ebf2308711de149544038bb9c1 SHA1 bdf5c4ce3ddcba984c1a3c65f1c3b03013a0505b SHA256 a561c6e90591d4b0c3e7e1b96e4065bbe8a6214c1f0f143eb561d2cd61725635 +MISC ChangeLog 339 RMD160 1d6fb0984859f85fbf12a11b8f04cf397eda563a SHA1 622c080ca1d579c22202c6b4ea08327715f6d7a6 SHA256 d1b98a0936deafcfd4046c7181cb9c4ff91299b85f81d73682ea80b22045b7ae +MISC metadata.xml 404 RMD160 64acaaae731cda264559c35a579cc9325c94311f SHA1 a277a0ca9da4c1bd697a9f84b3426c5eb82453a6 SHA256 83c36b107720f1b5dc5b891935df0982e50d056ee80bb3170dbed43786ade69e diff --git a/dev-lang/v8cgi/metadata.xml b/dev-lang/v8cgi/metadata.xml new file mode 100644 index 000000000000..054aefb11a1d --- /dev/null +++ b/dev-lang/v8cgi/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>dev-tools</herd> + <use> + <flag name='memcached'>Support for the memcached daemon</flag> + <flag name='fcgi'>Support for FastCGI</flag> + <flag name='xerces'>Use the xerces XML parser</flag> + <flag name='apache'>Support for apache</flag> + </use> +</pkgmetadata> diff --git a/dev-lang/v8cgi/v8cgi-0.9.2.ebuild b/dev-lang/v8cgi/v8cgi-0.9.2.ebuild new file mode 100644 index 000000000000..27f7cd6729ef --- /dev/null +++ b/dev-lang/v8cgi/v8cgi-0.9.2.ebuild @@ -0,0 +1,100 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8cgi/v8cgi-0.9.2.ebuild,v 1.1 2011/12/24 01:02:35 weaver Exp $ + +EAPI=4 + +inherit eutils toolchain-funcs flag-o-matic + +MY_P=${P}-src +LIB_P="v8" + +DESCRIPTION="Small set of C++ and JS libraries, allowing coder to use JS as a server-side HTTP processing language" +HOMEPAGE="http://code.google.com/p/${PN}/" +SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug mysql postgres sqlite memcached fcgi gd xerces opengl apache" + +RDEPEND="dev-lang/v8 + memcached? ( dev-libs/libmemcached ) + apache? ( www-servers/apache ) + opengl? ( virtual/opengl ) + xerces? ( >=dev-libs/xerces-c-3.0.0 ) + gd? ( media-libs/gd ) + sqlite? ( dev-db/sqlite ) + mysql? ( dev-db/mysql ) + postgres? ( dev-db/postgresql-server )" +DEPEND="${RDEPEND} + >=dev-util/scons-0.96.93" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + local myconf + + filter-flags -ftracer -fomit-frame-pointer + if [[ $(gcc-major-version) -eq 3 ]] ; then + filter-flags -fstack-protector + append-flags -fno-stack-protector + fi + + myconf="${myconf} v8_path=/usr/lib/" + myconf="${myconf} os=posix" + + if use debug ; then + myconf="${myconf} debug=1" + fi + if use !mysql ; then + myconf="${myconf} mysql=0" + fi + if use postgres ; then + myconf="${myconf} pgsql=1" + fi + if use !sqlite ; then + myconf="${myconf} sqlite=0" + fi + if use fcgi ; then + myconf="${myconf} fcgi=1" + fi + if use !gd ; then + myconf="${myconf} gd=0" + fi + if use !memcached ; then + myconf="${myconf} memcached=0" + fi + if use xerces ; then + myconf="${myconf} xdom=1" + fi + if use opengl ; then + myconf="${myconf} gl=1" + fi + if use !apache ; then + myconf="${myconf} module=0" + fi + + cd ${PN} + scons $myconf \ + ${MAKEOPTS/-l[0-9]} \ + --implicit-deps-unchanged \ + prefix=/usr \ + docdir=/usr/share/doc/${PF} \ + default_targets=none || die "scons failed" +} + +src_install() { + cd ${PN} + + insinto /usr/lib/${PN} + doins lib/* + + insinto /usr/share/${PN}/example + doins example/* + + insinto /etc + newins v8cgi.conf.posix v8cgi.conf + + dobin v8cgi +} |