27 lines
533 B
Bash
27 lines
533 B
Bash
|
|
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"
|
|
}
|