dev-cpp/nameof - 0.11.0 (gentoo-zh)

Search

Install

Install this version:

emerge -a =dev-cpp/nameof-0.11.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-cpp/nameof-0.11.0

Or alternatively:

emerge --autounmask-write -a =dev-cpp/nameof-0.11.0

Package Information

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

Ebuild Details

Version EAPI Keywords Slot
0.11.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2021-2024 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 ~arm64"

DOCS=(
	README.md doc/limitations.md doc/reference.md
)

src_install() {
	cmake_src_install

	# Gentoo tracks the license through LICENSE=, not an installed copy
	rm "${ED}"/usr/share/nameof/LICENSE || die
	rmdir "${ED}"/usr/share/nameof || die
}

Inherited Eclasses

Manifest for 0.11.0

Type File Size Source URLs
DIST nameof-0.11.0.tar.gz 121355 bytes https://github.com/Neargye/nameof/archive/refs/tags/v0.11.0.tar.gz