dev-cpp/cpp-jwt - 1.5.1 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-cpp/cpp-jwt-1.5.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/cpp-jwt-1.5.1

Or alternatively:

emerge --autounmask-write -a =dev-cpp/cpp-jwt-1.5.1

Package Information

Description:
JSON Web Token library for C++
Homepage:
https://github.com/arun11299/cpp-jwt
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.5.1 8 ~amd64 ~x86 0
View Raw Ebuild
# 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/cpp-jwt"
SRC_URI="https://github.com/arun11299/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

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
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-cpp/cpp-jwt | euse -E <flag> -p dev-cpp/cpp-jwt | euse -D <flag> -p dev-cpp/cpp-jwt

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

test? ( dev-cpp/gtest )
	dev-libs/openssl
	dev-cpp/nlohmann_json

RDEPEND

test? ( dev-cpp/gtest )
	dev-libs/openssl
	dev-cpp/nlohmann_json

Manifest for 1.5.1

Type File Size Source URLs
DIST cpp-jwt-1.5.1.tar.gz 1246730 bytes https://github.com/arun11299/cpp-jwt/archive/refs/tags/v1.5.1.tar.gz