dev-cpp/nameof - 0.10.2 (touchfish-os)

Search

Package Information

Description:
Nameof operator for modern C++
Homepage:
https://github.com/Neargye/nameof
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.10.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Nameof operator for modern C++"
HOMEPAGE="https://github.com/Neargye/nameof"
SRC_URI="https://github.com/Neargye/nameof/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc"
RESTRICT="mirror"

src_configure() {
	mycmakeargs=(
		-DNAMEOF_OPT_BUILD_EXAMPLES=OFF
		-DNAMEOF_OPT_BUILD_TESTS=OFF
		-DNAMEOF_OPT_INSTALL=ON
	)
	cmake_src_configure
}

src_install() {
	cmake_src_install
	if use doc
	then
		dodoc doc/*
	fi
}

USE Flags

doc

Manifest for 0.10.2

Type File Size Source URLs
DIST nameof-0.10.2.tar.gz 148962 bytes https://github.com/Neargye/nameof/archive/refs/tags/v0.10.2.tar.gz