mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-11-07 08:10:34 -05:00
35 lines
632 B
Bash
35 lines
632 B
Bash
# Copyright 2018-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit cmake
|
|
|
|
DESCRIPTION="C++ Requests: Curl for People, a spiritual port of Python Requests"
|
|
HOMEPAGE="https://docs.libcpr.dev/"
|
|
SRC_URI="https://github.com/libcpr/cpr/archive/${PV}.tar.gz
|
|
-> ${P}.tar.gz"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 arm arm64 ppc ppc64 x86"
|
|
|
|
# tests disabled for now, as it tries to fetch mongoose
|
|
IUSE="+ssl"
|
|
|
|
RDEPEND="
|
|
net-misc/curl
|
|
"
|
|
DEPEND="
|
|
${RDEPEND}
|
|
"
|
|
|
|
src_configure() {
|
|
local mycmakeargs=(
|
|
-DCPR_USE_SYSTEM_CURL=ON
|
|
-DCPR_ENABLE_SSL=$(usex ssl)
|
|
)
|
|
|
|
cmake_src_configure
|
|
}
|