# Copyright 2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake DESCRIPTION="Curl for People, a spiritual port of Python Requests" HOMEPAGE="https://docs.libcpr.dev/" SRC_URI="https://github.com/libcpr/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" # tests attempt to fetch mongoose from web during configure RESTRICT="test" DEPEND=" dev-libs/openssl:= net-misc/curl " RDEPEND="${DEPEND}" src_configure () { local mycmakeargs=( -DCPR_WARNINGS_AS_ERRORS=OFF -DCPR_USE_SYSTEM_GTEST=ON -DCPR_USE_SYSTEM_CURL=ON ) cmake_src_configure }