# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake DESCRIPTION="OpenSSL engine for DSTU 4145" HOMEPAGE="https://github.com/dstucrypt/dstu-engine" SRC_URI="https://github.com/dstucrypt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" RDEPEND="dev-libs/openssl:0/3" DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" DOCS=( {ChangeLog,README}.md ) src_configure() { local mycmakeargs=( -DBUILD_TESTS="$(usex test)" ) cmake_src_configure }