| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.5 | 8 | ~amd64 | 0 |
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="JSON Web Token library for C++"
HOMEPAGE="https://github.com/arun11299"
SRC_URI="https://github.com/arun11299/${PN}/archive/refs/tags/v${PV}.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
}
test? ( dev-cpp/gtest ) dev-libs/openssl dev-cpp/nlohmann_json
test? ( dev-cpp/gtest ) dev-libs/openssl dev-cpp/nlohmann_json
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | v1.5.tar.gz | 1246731 bytes | https://github.com/arun11299/cpp-jwt/archive/refs/tags/v1.5.tar.gz |