dev-cpp/tgbot-cpp - 1.10 (gentoo-zh)

Search

Install

Install this version:

emerge -a =dev-cpp/tgbot-cpp-1.10

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/tgbot-cpp-1.10

Or alternatively:

emerge --autounmask-write -a =dev-cpp/tgbot-cpp-1.10

Package Information

Description:
C++ library for Telegram bot API
Homepage:
https://github.com/reo7sp/tgbot-cpp
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
1.10 8 ~amd64 0
View Raw Ebuild
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="C++ library for Telegram bot API"
HOMEPAGE="https://github.com/reo7sp/tgbot-cpp"
SRC_URI="https://github.com/reo7sp/tgbot-cpp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+shared-libs doc test"
RESTRICT="!test? ( test )"

DEPEND="
	virtual/zlib
	dev-libs/openssl:=
	>=net-misc/curl-7.56.0
	>=dev-libs/boost-1.59.0"
RDEPEND="${DEPEND}"
BDEPEND="doc? ( app-text/doxygen[dot] )"

src_configure() {
	mycmakeargs=(
		-DENABLE_TESTS=$(usex test ON OFF)
		-DBUILD_SHARED_LIBS=$(usex shared-libs ON OFF)
		-DBUILD_DOCUMENTATION=$(usex doc ON OFF)
	)
	cmake_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-cpp/tgbot-cpp | euse -E <flag> -p dev-cpp/tgbot-cpp | euse -D <flag> -p dev-cpp/tgbot-cpp

Global/Standard Flags

shared-libs
Default: Enabled (+)
doc

Inherited Eclasses

Dependencies

DEPEND

	virtual/zlib
	dev-libs/openssl:=
	>=net-misc/curl-7.56.0
	>=dev-libs/boost-1.59.0

RDEPEND

	virtual/zlib
	dev-libs/openssl:=
	>=net-misc/curl-7.56.0
	>=dev-libs/boost-1.59.0

BDEPEND

doc? ( app-text/doxygen[dot] )

Manifest for 1.10

Type File Size Source URLs
DIST tgbot-cpp-1.10.tar.gz 186689 bytes https://github.com/reo7sp/tgbot-cpp/archive/refs/tags/v1.10.tar.gz