Install this version:
emerge -a =dev-cpp/cpr-1.15.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-cpp/cpr-1.15.1
Or alternatively:
emerge --autounmask-write -a =dev-cpp/cpr-1.15.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.15.1 | 8 | ~amd64 | 0 |
# 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
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | cpr-1.15.1.tar.gz | 181812 bytes | https://github.com/libcpr/cpr/archive/refs/tags/1.15.1.tar.gz |