1 |
commit: 5da658803c6817e7df3e9661321c2c2694ba6de0 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 13 06:22:49 2017 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 13 06:28:16 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5da65880 |
7 |
|
8 |
www-servers/civetweb: new package |
9 |
|
10 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
11 |
|
12 |
www-servers/civetweb/Manifest | 1 + |
13 |
www-servers/civetweb/civetweb-1.10.ebuild | 36 +++++++++++++++++++++++++++++++ |
14 |
www-servers/civetweb/metadata.xml | 10 +++++++++ |
15 |
3 files changed, 47 insertions(+) |
16 |
|
17 |
diff --git a/www-servers/civetweb/Manifest b/www-servers/civetweb/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..4ceadc2eb8a |
20 |
--- /dev/null |
21 |
+++ b/www-servers/civetweb/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST civetweb-1.10.tar.gz 11350512 SHA256 e6958f005aa01b02645bd3ff9760dd085e83d30530cdd97b584632419195bea5 SHA512 54035883fbec590f339a2b4b5bf1b9a93591ea50bff056830d0c45b874cf6e46ce5af39e9dd9d4e0e6c82bec844aa0f159503f337998e9e10e59099b8ecc3f79 WHIRLPOOL 3a2b45f36188612215b4fb2d1d85aa8e88677399f2065c19ef9c903a011434d44f47b1115862b2d7b4bda471feb6427879a454b5c1032ed28754afee1fd7c55e |
24 |
|
25 |
diff --git a/www-servers/civetweb/civetweb-1.10.ebuild b/www-servers/civetweb/civetweb-1.10.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..62190ba870b |
28 |
--- /dev/null |
29 |
+++ b/www-servers/civetweb/civetweb-1.10.ebuild |
30 |
@@ -0,0 +1,36 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+inherit cmake-utils |
37 |
+ |
38 |
+HOMEPAGE="https://github.com/civetweb/civetweb/" |
39 |
+DESCRIPTION="Embedded C/C++ web server" |
40 |
+SRC_URI="https://github.com/civetweb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="ssl" |
46 |
+ |
47 |
+RDEPEND="ssl? ( dev-libs/openssl:0= )" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+ |
50 |
+src_prepare() { |
51 |
+ sed -e 's|DESTINATION lib$|DESTINATION ${CMAKE_INSTALL_LIBDIR}|' \ |
52 |
+ -i src/CMakeLists.txt || die |
53 |
+ cmake-utils_src_prepare |
54 |
+} |
55 |
+ |
56 |
+src_configure() { |
57 |
+ local mycmakeargs=( |
58 |
+ -DBUILD_TESTING=OFF |
59 |
+ -DBUILD_SHARED_LIBS=ON |
60 |
+ -DCIVETWEB_ENABLE_LUA=OFF |
61 |
+ -DCIVETWEB_ENABLE_DUKTAPE=OFF |
62 |
+ -DCIVETWEB_ENABLE_SSL="$(usex ssl)" |
63 |
+ ) |
64 |
+ |
65 |
+ cmake-utils_src_configure |
66 |
+} |
67 |
|
68 |
diff --git a/www-servers/civetweb/metadata.xml b/www-servers/civetweb/metadata.xml |
69 |
new file mode 100644 |
70 |
index 00000000000..da48c00830a |
71 |
--- /dev/null |
72 |
+++ b/www-servers/civetweb/metadata.xml |
73 |
@@ -0,0 +1,10 @@ |
74 |
+<?xml version="1.0" encoding="UTF-8"?> |
75 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
76 |
+<pkgmetadata> |
77 |
+ <upstream> |
78 |
+ <remote-id type="github">civetweb/civetweb</remote-id> |
79 |
+ </upstream> |
80 |
+ <maintainer type="person"> |
81 |
+ <email>zmedico@g.o</email> |
82 |
+ </maintainer> |
83 |
+</pkgmetadata> |