1 |
commit: cb9bf1b6ba1ebc4da55e945c5a88df671007aefd |
2 |
Author: Samuel Bauer <samuel.bauer <AT> yahoo <DOT> fr> |
3 |
AuthorDate: Wed Jul 27 00:29:24 2022 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Thu Aug 4 10:01:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cb9bf1b6 |
7 |
|
8 |
dev-cpp/cpp-jwt: new ebuild |
9 |
|
10 |
Signed-off-by: Samuel Bauer <samuel.bauer <AT> yahoo.fr> |
11 |
|
12 |
dev-cpp/cpp-jwt/Manifest | 2 ++ |
13 |
dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild | 29 ++++++++++++++++++++++++++ |
14 |
dev-cpp/cpp-jwt/metadata.xml | 8 +++++++ |
15 |
3 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-cpp/cpp-jwt/Manifest b/dev-cpp/cpp-jwt/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..5bf0d775d |
20 |
--- /dev/null |
21 |
+++ b/dev-cpp/cpp-jwt/Manifest |
22 |
@@ -0,0 +1,2 @@ |
23 |
+DIST cpp-jwt-1.5_pre20220727.tar.gz 1246602 BLAKE2B 577730b06d63d245f125e605e68ae53f2d4b4e27d0417b5e91df29d228dd97ae0ac2f708fd9d7a89ee410535587586346e30890c832d30abc482a2057a19bc4b SHA512 3652c41e8ac42b5aed2a2c9294fb229bfc8126fe0cce5277a1724bae6b48aed9c1e9ff5498d33406be0a51d83068ca81813f6282d080e9af833d1517c388395d |
24 |
+EBUILD cpp-jwt-1.5_pre20220727.ebuild 671 BLAKE2B 056b82ba54b0168c1f3a98808495b79dbe5af4f41b810e820c352f3b8d4fdeca29522d0b14cd0aaf0365224962a326432db2a571795a8235390cfbc672e2b6b2 SHA512 1835b8fc1a07d40d7c336a850883dd16e2218a2342dd39dde4fdfa503ae433657a5bdd2b0c2616dc2d405de34b484512350a76f22daa9e62e363aa6b40f9e4e6 |
25 |
|
26 |
diff --git a/dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild b/dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000..ce4088eaa |
29 |
--- /dev/null |
30 |
+++ b/dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild |
31 |
@@ -0,0 +1,29 @@ |
32 |
+# Copyright 2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit cmake vcs-snapshot |
38 |
+ |
39 |
+DESCRIPTION="JSON Web Token library for C++" |
40 |
+HOMEPAGE="https://github.com/arun11299" |
41 |
+SRC_URI="https://github.com/arun11299/cpp-jwt/archive/e12ef06218596b52d9b5d6e1639484866a8e7067.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="MIT" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+ |
47 |
+DEPEND="test? ( dev-cpp/gtest ) |
48 |
+ dev-libs/openssl |
49 |
+ dev-cpp/nlohmann_json" |
50 |
+RDEPEND="${DEPEND}" |
51 |
+ |
52 |
+IUSE="examples test" |
53 |
+RESTRICT="!test? ( test )" |
54 |
+src_configure() { |
55 |
+ local mycmakeargs=( |
56 |
+ -DCPP_JWT_BUILD_EXAMPLES=$(usex examples) |
57 |
+ -DCPP_JWT_BUILD_TESTS=$(usex test) |
58 |
+ ) |
59 |
+ cmake_src_configure |
60 |
+} |
61 |
|
62 |
diff --git a/dev-cpp/cpp-jwt/metadata.xml b/dev-cpp/cpp-jwt/metadata.xml |
63 |
new file mode 100644 |
64 |
index 000000000..1325168f8 |
65 |
--- /dev/null |
66 |
+++ b/dev-cpp/cpp-jwt/metadata.xml |
67 |
@@ -0,0 +1,8 @@ |
68 |
+<?xml version="1.0" encoding="UTF-8"?> |
69 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
70 |
+<pkgmetadata> |
71 |
+<maintainer type="person"> |
72 |
+ <name>Samuel Bauer</name> |
73 |
+ <email>samuel.bauer@×××××.fr</email> |
74 |
+</maintainer> |
75 |
+</pkgmetadata> |