guru/dev-cpp/wangle/wangle-2023.06.19.00.ebuild
Julien Roy f8c993e3c3
dev-cpp/wangle: add 2023.06.19.00
Bug: https://bugs.gentoo.org/848459
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-05-15 12:01:27 -04:00

44 lines
837 B
Bash

# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Framework providing common client/server abstractions"
HOMEPAGE="https://github.com/facebook/wangle"
SRC_URI="https://github.com/facebook/wangle/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="examples test"
RDEPEND="
>=dev-cpp/fizz-${PV}:=
>=dev-cpp/folly-${PV}:=
dev-cpp/gflags
dev-cpp/glog
dev-libs/double-conversion
dev-libs/libevent
dev-libs/libfmt
dev-libs/openssl:0=
"
DEPEND="
${RDEPEND}
dev-cpp/gtest
"
RESTRICT="!test? ( test )"
CMAKE_USE_DIR="${S}/wangle"
src_configure() {
local mycmakeargs=(
-DBUILD_EXAMPLES=$(usex examples)
-DBUILD_TESTS=$(usex test)
-DLIB_INSTALL_DIR=$(get_libdir)
)
cmake_src_configure
}