gentoo/dev-libs/libmcfp/libmcfp-1.4.2.ebuild
Arthur Zamarin 4766e6f666
dev-libs/libmcfp: Stabilize 1.4.2 amd64, #958995
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-06-25 19:17:31 +03:00

28 lines
653 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="A library that can collect configuration options from command line arguments"
HOMEPAGE="https://github.com/mhekkel/libmcfp"
SRC_URI="https://github.com/mhekkel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND=">=dev-cpp/catch-3.4.0:0"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
-DCPM_USE_LOCAL_PACKAGES=ON
-DBUILD_TESTING="$(usex test)"
-DBUILD_DOCUMENTATION=OFF
)
cmake_src_configure
}