# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake DESCRIPTION="Tool, separating data processing (business logic) from data presentation" HOMEPAGE="https://ctpp.havoc.ru/ https://ctpp.havoc.ru/en/" SRC_URI="https://ctpp.havoc.ru/download/${P}.tar.gz" LICENSE="BSD" SLOT="2" KEYWORDS="~amd64 ~arm ~arm64 ~x86" IUSE="debug md5 iconv" DEPEND=" iconv? ( virtual/libiconv ) md5? ( dev-libs/openssl:* ) " RDEPEND="${DEPEND}" PATCHES="${FILESDIR}/patches/*.patch" src_configure() { mycmakeargs=( -DENABLE_OPTIMIZATION=ON -DSKIP_RELINK_RPATH=ON -DDEBUG_MODE=$(usex debug ON OFF) -DMD5_SUPPORT=$(usex md5 ON OFF) -DICONV_SUPPORT=$(usex iconv ON OFF) ) cmake_src_configure }