Add dev-libs/cjose ebuild for mod_auth_openidc

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2021-09-27 20:32:24 +02:00
parent 039a1cce4d
commit f143290c66
2 changed files with 28 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
EAPI="7"
DESCRIPTION="C library implementing the Javascript Object Signing and Encryption (JOSE)"
HOMEPAGE="https://github.com/cisco/cjose"
SRC_URI="https://github.com/cisco/cjose/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
IUSE="doc static-libs"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64"
RDEPEND="
>=dev-libs/openssl-1.0.1h
>=dev-libs/jansson-2.3
"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
"
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_enable doc doxygen-doc) \
|| die "configure failed"
}