mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-12 08:33:15 -04:00
dev-cpp/cpp-jwt: new ebuild
Signed-off-by: Samuel Bauer <samuel.bauer@yahoo.fr>
This commit is contained in:
29
dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild
Normal file
29
dev-cpp/cpp-jwt/cpp-jwt-1.5_pre20220727.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user