Gentoo Archives: gentoo-commits

From: "Andrey Kislyuk (weaver)" <weaver@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-lang/v8cgi: metadata.xml ChangeLog v8cgi-0.9.2.ebuild Manifest
Date: Sat, 24 Dec 2011 01:02:45
Message-Id: 20111224010235.DC3202004B@flycatcher.gentoo.org
1 weaver 11/12/24 01:02:35
2
3 Added: metadata.xml ChangeLog v8cgi-0.9.2.ebuild Manifest
4 Log:
5 New package, import from roxxorx-gentoo-overlay, thanks to Lucio Asnaghi (https://github.com/kunitoki)
6
7 (Portage version: 2.2.0_alpha74/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 dev-lang/v8cgi/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8cgi/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8cgi/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>dev-tools</herd>
21 <use>
22 <flag name='memcached'>Support for the memcached daemon</flag>
23 <flag name='fcgi'>Support for FastCGI</flag>
24 <flag name='xerces'>Use the xerces XML parser</flag>
25 <flag name='apache'>Support for apache</flag>
26 </use>
27 </pkgmetadata>
28
29
30
31 1.1 dev-lang/v8cgi/ChangeLog
32
33 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8cgi/ChangeLog?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8cgi/ChangeLog?rev=1.1&content-type=text/plain
35
36 Index: ChangeLog
37 ===================================================================
38 # ChangeLog for dev-lang/v8cgi
39 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
40 # $Header: /var/cvsroot/gentoo-x86/dev-lang/v8cgi/ChangeLog,v 1.1 2011/12/24 01:02:35 weaver Exp $
41
42 *v8cgi-0.9.2 (24 Dec 2011)
43
44 24 Dec 2011; Andrey Kislyuk <weaver@g.o> +v8cgi-0.9.2.ebuild,
45 +metadata.xml:
46 New package, import from roxxorx-gentoo-overlay, thanks to Lucio Asnaghi
47 (https://github.com/kunitoki)
48
49
50
51
52 1.1 dev-lang/v8cgi/v8cgi-0.9.2.ebuild
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8cgi/v8cgi-0.9.2.ebuild?rev=1.1&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8cgi/v8cgi-0.9.2.ebuild?rev=1.1&content-type=text/plain
56
57 Index: v8cgi-0.9.2.ebuild
58 ===================================================================
59 # Copyright 1999-2011 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 # $Header: /var/cvsroot/gentoo-x86/dev-lang/v8cgi/v8cgi-0.9.2.ebuild,v 1.1 2011/12/24 01:02:35 weaver Exp $
62
63 EAPI=4
64
65 inherit eutils toolchain-funcs flag-o-matic
66
67 MY_P=${P}-src
68 LIB_P="v8"
69
70 DESCRIPTION="Small set of C++ and JS libraries, allowing coder to use JS as a server-side HTTP processing language"
71 HOMEPAGE="http://code.google.com/p/${PN}/"
72 SRC_URI="http://${PN}.googlecode.com/files/${MY_P}.tar.gz"
73
74 LICENSE="GPL-2"
75 SLOT="0"
76 KEYWORDS="~amd64 ~x86"
77 IUSE="debug mysql postgres sqlite memcached fcgi gd xerces opengl apache"
78
79 RDEPEND="dev-lang/v8
80 memcached? ( dev-libs/libmemcached )
81 apache? ( www-servers/apache )
82 opengl? ( virtual/opengl )
83 xerces? ( >=dev-libs/xerces-c-3.0.0 )
84 gd? ( media-libs/gd )
85 sqlite? ( dev-db/sqlite )
86 mysql? ( dev-db/mysql )
87 postgres? ( dev-db/postgresql-server )"
88 DEPEND="${RDEPEND}
89 >=dev-util/scons-0.96.93"
90
91 S="${WORKDIR}/${MY_P}"
92
93 src_compile() {
94 local myconf
95
96 filter-flags -ftracer -fomit-frame-pointer
97 if [[ $(gcc-major-version) -eq 3 ]] ; then
98 filter-flags -fstack-protector
99 append-flags -fno-stack-protector
100 fi
101
102 myconf="${myconf} v8_path=/usr/lib/"
103 myconf="${myconf} os=posix"
104
105 if use debug ; then
106 myconf="${myconf} debug=1"
107 fi
108 if use !mysql ; then
109 myconf="${myconf} mysql=0"
110 fi
111 if use postgres ; then
112 myconf="${myconf} pgsql=1"
113 fi
114 if use !sqlite ; then
115 myconf="${myconf} sqlite=0"
116 fi
117 if use fcgi ; then
118 myconf="${myconf} fcgi=1"
119 fi
120 if use !gd ; then
121 myconf="${myconf} gd=0"
122 fi
123 if use !memcached ; then
124 myconf="${myconf} memcached=0"
125 fi
126 if use xerces ; then
127 myconf="${myconf} xdom=1"
128 fi
129 if use opengl ; then
130 myconf="${myconf} gl=1"
131 fi
132 if use !apache ; then
133 myconf="${myconf} module=0"
134 fi
135
136 cd ${PN}
137 scons $myconf \
138 ${MAKEOPTS/-l[0-9]} \
139 --implicit-deps-unchanged \
140 prefix=/usr \
141 docdir=/usr/share/doc/${PF} \
142 default_targets=none || die "scons failed"
143 }
144
145 src_install() {
146 cd ${PN}
147
148 insinto /usr/lib/${PN}
149 doins lib/*
150
151 insinto /usr/share/${PN}/example
152 doins example/*
153
154 insinto /etc
155 newins v8cgi.conf.posix v8cgi.conf
156
157 dobin v8cgi
158 }
159
160
161
162 1.1 dev-lang/v8cgi/Manifest
163
164 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8cgi/Manifest?rev=1.1&view=markup
165 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/v8cgi/Manifest?rev=1.1&content-type=text/plain
166
167 Index: Manifest
168 ===================================================================
169 DIST v8cgi-0.9.2-src.tar.gz 11665177 RMD160 609ab965b5ca5bc07c2f85fcbe8d852fbd8f64d0 SHA1 790aa7d177cccc94e2cb3ba4ca06213765094f01 SHA256 74b469f9513a2bea34b53439841871334cd2da6fb7ce0e49fbf6ea958c6e39d4
170 EBUILD v8cgi-0.9.2.ebuild 2059 RMD160 0d7b378bf80041ebf2308711de149544038bb9c1 SHA1 bdf5c4ce3ddcba984c1a3c65f1c3b03013a0505b SHA256 a561c6e90591d4b0c3e7e1b96e4065bbe8a6214c1f0f143eb561d2cd61725635
171 MISC ChangeLog 339 RMD160 1d6fb0984859f85fbf12a11b8f04cf397eda563a SHA1 622c080ca1d579c22202c6b4ea08327715f6d7a6 SHA256 d1b98a0936deafcfd4046c7181cb9c4ff91299b85f81d73682ea80b22045b7ae
172 MISC metadata.xml 404 RMD160 64acaaae731cda264559c35a579cc9325c94311f SHA1 a277a0ca9da4c1bd697a9f84b3426c5eb82453a6 SHA256 83c36b107720f1b5dc5b891935df0982e50d056ee80bb3170dbed43786ade69e