summaryrefslogtreecommitdiff
path: root/dev-cpp/cpp-jwt
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/cpp-jwt')
-rw-r--r--dev-cpp/cpp-jwt/Manifest2
-rw-r--r--dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild29
-rw-r--r--dev-cpp/cpp-jwt/metadata.xml10
3 files changed, 41 insertions, 0 deletions
diff --git a/dev-cpp/cpp-jwt/Manifest b/dev-cpp/cpp-jwt/Manifest
new file mode 100644
index 000000000000..5bf0d775db6a
--- /dev/null
+++ b/dev-cpp/cpp-jwt/Manifest
@@ -0,0 +1,2 @@
+DIST cpp-jwt-1.5_pre20220727.tar.gz 1246602 BLAKE2B 577730b06d63d245f125e605e68ae53f2d4b4e27d0417b5e91df29d228dd97ae0ac2f708fd9d7a89ee410535587586346e30890c832d30abc482a2057a19bc4b SHA512 3652c41e8ac42b5aed2a2c9294fb229bfc8126fe0cce5277a1724bae6b48aed9c1e9ff5498d33406be0a51d83068ca81813f6282d080e9af833d1517c388395d
+EBUILD cpp-jwt-1.5_pre20220727.ebuild 671 BLAKE2B 056b82ba54b0168c1f3a98808495b79dbe5af4f41b810e820c352f3b8d4fdeca29522d0b14cd0aaf0365224962a326432db2a571795a8235390cfbc672e2b6b2 SHA512 1835b8fc1a07d40d7c336a850883dd16e2218a2342dd39dde4fdfa503ae433657a5bdd2b0c2616dc2d405de34b484512350a76f22daa9e62e363aa6b40f9e4e6
diff --git a/dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild b/dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild
new file mode 100644
index 000000000000..ce4088eaa0dc
--- /dev/null
+++ b/dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake vcs-snapshot
+
+DESCRIPTION="JSON Web Token library for C++"
+HOMEPAGE="https://github.com/arun11299"
+SRC_URI="https://github.com/arun11299/cpp-jwt/archive/e12ef06218596b52d9b5d6e1639484866a8e7067.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="test? ( dev-cpp/gtest )
+ dev-libs/openssl
+ dev-cpp/nlohmann_json"
+RDEPEND="${DEPEND}"
+
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+src_configure() {
+ local mycmakeargs=(
+ -DCPP_JWT_BUILD_EXAMPLES=$(usex examples)
+ -DCPP_JWT_BUILD_TESTS=$(usex test)
+ )
+ cmake_src_configure
+}
diff --git a/dev-cpp/cpp-jwt/metadata.xml b/dev-cpp/cpp-jwt/metadata.xml
new file mode 100644
index 000000000000..0eb8cd867580
--- /dev/null
+++ b/dev-cpp/cpp-jwt/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>samuel.bauer@yahoo.fr</email>
+ <name>Samuel Bauer</name>
+ </maintainer>
+
+ <origin>gentoo-guru-overlay</origin>
+</pkgmetadata> \ No newline at end of file