1 # Copyright 2021-2023 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION
="C++ library for Telegram bot API"
9 HOMEPAGE
="https://github.com/reo7sp/tgbot-cpp"
10 EGIT_REPO_URI
="https://github.com/reo7sp/${PN}.git"
16 IUSE
="+shared doc test"
17 RESTRICT
="!test? ( test )"
22 >=net-misc/curl-7.56.0
23 >=dev-libs/boost-1.59.0"
25 BDEPEND
="doc? ( app-doc/doxygen[dot] )"
29 -DENABLE_TESTS=$
(usex
test ON OFF
)
30 -DBUILD_SHARED_LIBS=$
(usex shared ON OFF
)
31 -DBUILD_DOCUMENTATION=$
(usex doc ON OFF
)