Files
gentoo-zh/dev-cpp/tgbot-cpp/tgbot-cpp-1.3_p220612.ebuild
T
Errelin c84d477804 dev-cpp/tgbot-cpp: bump version
The stable version remains the same as that of upstream -- v1.3
This commit bumps the patch release to the latest from upstream:
https://github.com/reo7sp/tgbot-cpp/commit/5567c5cfc88b2111221dbfca99919fe3fe17eb8a
2022-07-11 14:11:06 +08:00

34 lines
704 B
Bash

# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake git-r3
DESCRIPTION="C++ library for Telegram bot API"
HOMEPAGE="https://github.com/reo7sp/tgbot-cpp"
EGIT_REPO_URI="https://github.com/reo7sp/${PN}.git"
EGIT_COMMIT=5567c5c
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+shared doc 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-doc/doxygen[dot] )"
src_configure() {
mycmakeargs=(
-DENABLE_TESTS=$(usex test ON OFF)
-DBUILD_SHARED_LIBS=$(usex shared ON OFF)
-DBUILD_DOCUMENTATION=$(usex doc ON OFF)
)
cmake_src_configure
}