Apocrypha

redox-9999batsim

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 cmake 

MY_P="${PN}-${PV}"
DESCRIPTION="Modern, asynchronous, and wicked fast C++11 client for Redis"
HOMEPAGE="https://github.com/mpoquet/redox"
EGIT_REPO_URI="https://github.com/mpoquet/redox.git"
EGIT_BRANCH="install-pkg-config-file"
S="${WORKDIR}/${MY_P}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	dev-libs/hiredis
	dev-libs/libev
"
#DEPEND="${RDEPEND}"
BDEPEND="
	dev-build/cmake
"

PATCHES=(
	"${FILESDIR}"/${PN}-rm_suffix.patch
)

src_prepare() {
	cmake_src_prepare
}

src_configure() {
	cmake_src_configure
}

src_install() {
	cmake_src_install
}