1 |
zmedico 14/06/06 04:22:18 |
2 |
|
3 |
Added: metadata.xml mongoose-5.3.ebuild Manifest ChangeLog |
4 |
Log: |
5 |
Initial mongoose ebuild, fixes bug #173888. |
6 |
|
7 |
(Portage version: 2.2.0_alpha194/cvs/Linux i686, signed Manifest commit with key 0xFDE8EF85AE5719A3) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 www-servers/mongoose/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/mongoose/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/mongoose/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 |
<maintainer> |
21 |
<email>zmedico@g.o</email> |
22 |
</maintainer> |
23 |
</pkgmetadata> |
24 |
|
25 |
|
26 |
|
27 |
1.1 www-servers/mongoose/mongoose-5.3.ebuild |
28 |
|
29 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/mongoose/mongoose-5.3.ebuild?rev=1.1&view=markup |
30 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/mongoose/mongoose-5.3.ebuild?rev=1.1&content-type=text/plain |
31 |
|
32 |
Index: mongoose-5.3.ebuild |
33 |
=================================================================== |
34 |
# Copyright 1999-2014 Gentoo Foundation |
35 |
# Distributed under the terms of the GNU General Public License v2 |
36 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/mongoose/mongoose-5.3.ebuild,v 1.1 2014/06/06 04:22:17 zmedico Exp $ |
37 |
|
38 |
EAPI=5 |
39 |
inherit toolchain-funcs |
40 |
|
41 |
DESCRIPTION="easy to use web server" |
42 |
SRC_URI="https://github.com/cesanta/${PN}/archive/${PV}.zip -> ${P}.zip" |
43 |
HOMEPAGE="https://code.google.com/p/${PN}/" |
44 |
LICENSE="GPL-2" |
45 |
SLOT="0" |
46 |
KEYWORDS="~amd64 ~amd64-linux ~x86 ~arm-linux ~x86-linux" |
47 |
IUSE="lua" |
48 |
RDEPEND="lua? ( >=dev-lang/lua-5.2.3:5.2= )" |
49 |
DEPEND="${RDEPEND}" |
50 |
S=${WORKDIR}/${P}/examples |
51 |
|
52 |
src_prepare() { |
53 |
if use lua ; then |
54 |
sed \ |
55 |
-e "s|^#CFLAGS += -I\$(LUA) -L\$(LUA) -llua|CFLAGS += -I$($(tc-getPKG_CONFIG) --variable includedir lua5.2)/lua5.2 -L$($(tc-getPKG_CONFIG) --variable libdir lua5.2) -llua5.2|" \ |
56 |
-i Makefile || die |
57 |
fi |
58 |
sed \ |
59 |
-e 's|^CFLAGS = -W -Wall -I.. -pthread -g -pipe $(CFLAGS_EXTRA)|CFLAGS += -I.. -pthread $(LDFLAGS)|' \ |
60 |
-e "s|g++ unit_test.c -Wall -W -pedantic -lssl|$(tc-getCC) unit_test.c -Wall -W -pedantic -lssl -pthread|" \ |
61 |
-i Makefile || die |
62 |
} |
63 |
|
64 |
src_compile() { |
65 |
tc-export CC |
66 |
emake server |
67 |
} |
68 |
|
69 |
src_test() { |
70 |
emake u |
71 |
} |
72 |
|
73 |
src_install() { |
74 |
exeinto /usr/bin |
75 |
newexe "${S}/server" "${PN}" |
76 |
dodoc ../docs/{FAQ,LuaSqlite,Options,SSL,Usage}.md |
77 |
} |
78 |
|
79 |
|
80 |
|
81 |
1.1 www-servers/mongoose/Manifest |
82 |
|
83 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/mongoose/Manifest?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/mongoose/Manifest?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: Manifest |
87 |
=================================================================== |
88 |
DIST mongoose-5.3.zip 124529 SHA256 9807751a888c7c32008d3ecf3c90d7ddff1469139b07a14e27e2f54874250bd7 SHA512 eb2f5de1bfb7e2314b64a695f579145644ff84c68b886fdd7f1adab40308a468438416799359788d36cc735b06cbb89b402938ed07ac3d4e40fa02c0a859fcd9 WHIRLPOOL 5cf2183d372d8a8117e7411d98242332a04e97f7d39d0186f74fa7925e1e22a9caf83a35eb08772809cc6c280d7270826edca2c13d12cddfce930bf6e2a10c3f |
89 |
EBUILD mongoose-5.3.ebuild 1181 SHA256 e90d8a8e90c1686da09f0232156ea3c3101f764b854208f2b051fdc6599e4381 SHA512 18cd627fea1e82dac04e1caad1c1244b72f4c9fdb4d72938d86432c8067c9472a1140f9ddd5cec3a927e2f860e2778e817c4c95cc262321f0274d7c6a518911a WHIRLPOOL bbb0d6aff5ed4e049f23c1f56d0aee9acec31d93ae6c5f663fc3b17d46e509a90713455c3375c7924736441d67f6cf58e2a644078822ba2b834bc41956b8b284 |
90 |
MISC metadata.xml 208 SHA256 67f4cd233dc8d6d341b8da89aef2654cae64f7e3b62fbcdd3a35e6e30e898e36 SHA512 5213f6c100db04c6bbbf73b4e52042caf1744aa805af76053f5ecaf5f921ffdd35c41507b492da65c6071f1699472db6c9334dcd5bb7da752dca8efe7e1c7aa4 WHIRLPOOL a43dc0ecd7f37ba8cf4d510a1195338816b6193e5c5517c8e005662a06d7fb62c725a3c2981474a872cba628c268de1bea0fb67a31ae1842a252c0fdc723eb4d |
91 |
|
92 |
|
93 |
|
94 |
1.1 www-servers/mongoose/ChangeLog |
95 |
|
96 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/mongoose/ChangeLog?rev=1.1&view=markup |
97 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-servers/mongoose/ChangeLog?rev=1.1&content-type=text/plain |
98 |
|
99 |
Index: ChangeLog |
100 |
=================================================================== |
101 |
# ChangeLog for www-servers/mongoose |
102 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
103 |
# $Header: /var/cvsroot/gentoo-x86/www-servers/mongoose/ChangeLog,v 1.1 2014/06/06 04:22:17 zmedico Exp $ |
104 |
|
105 |
*mongoose-5.3 (06 Jun 2014) |
106 |
|
107 |
06 Jun 2014; Zac Medico <zmedico@g.o> +metadata.xml, |
108 |
+mongoose-5.3.ebuild: |
109 |
Initial mongoose ebuild, fixes bug #173888. |