dev-cpp/tgbot-cpp: add 1.7.3, drop 1.7.2
Signed-off-by: Linerre <leon.errelin@outlook.com>
This commit is contained in:
1 parent
7564d78918
commit
365b759a49
2 files changed
+2
-2
No files matched your search
@@ -0,0 +1,33 @@
|
||||
# Copyright 2021-2024 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="
|
||||
sys-libs/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
|
||||
}
|
||||
Reference in new issue
Block a user