Install this version:
emerge -a =dev-libs/libcpuid-0.8.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-libs/libcpuid-0.8.2
Or alternatively:
emerge --autounmask-write -a =dev-libs/libcpuid-0.8.2
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.8.2 | 8 | ~amd64 | 0/17 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=(python3_{12..14})
inherit autotools python-any-r1
DESCRIPTION="A small C library for x86 (and x86_64) CPU detection and feature extraction"
HOMEPAGE="http://libcpuid.sourceforge.net/"
SRC_URI="https://github.com/anrieff/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0/17"
KEYWORDS="~amd64"
IUSE="static-libs test"
RESTRICT="!test? ( test )"
DEPEND="test? ( ${PYTHON_DEPS} )"
pkg_setup() {
use test && python-any-r1_pkg_setup
}
src_prepare() {
default
eautoreconf
}
src_configure() {
econf "$(use_enable static-libs static)"
}
src_install() {
default
find "${ED}" -name "*.la" -delete || die
}
Manage flags for this package:
euse -i <flag> -p dev-libs/libcpuid |
euse -E <flag> -p dev-libs/libcpuid |
euse -D <flag> -p dev-libs/libcpuid
test? ( )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | libcpuid-0.8.2.tar.gz | 516724 bytes | https://github.com/anrieff/libcpuid/archive/v0.8.2.tar.gz |