commit: a859a940cb2dbb6a4be236cd64611a82eac9a0b4
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 25 17:59:18 2025 +0000
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Mon Aug 25 19:07:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a859a940
dev-libs/libcpuid: add 0.8.1
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
dev-libs/libcpuid/Manifest | 1 +
dev-libs/libcpuid/libcpuid-0.8.1.ebuild | 37 +++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/dev-libs/libcpuid/Manifest b/dev-libs/libcpuid/Manifest
index 11d9d1744edf..861c0d309660 100644
--- a/dev-libs/libcpuid/Manifest
+++ b/dev-libs/libcpuid/Manifest
@@ -1 +1,2 @@
DIST libcpuid-0.8.0.tar.gz 629056 BLAKE2B
d5976cec947f528ebdde1c6bec5fca0cf4ccca8509675fb614113a9e9917e976aafd1324279b5dff85066ef7d70b8314aa53a235d113e8186766f5357da07f83
SHA512
4bf37263639cdc078103f1c54e9b5cba779387d3636b4432e509f021a278634dc4fe6337ae261f903cb97d1239652f552fe6508db8b517da8ba79eb6ada715d5
+DIST libcpuid-0.8.1.tar.gz 511050 BLAKE2B
d008f02e2a9a3d27e5491c0b6d4631f1e464e2a143b257ebe72b4789741c97cf6687c531ec4d3fc2e8469159957b652787cc677bad7a257029b9e16e1afde440
SHA512
6b642418bef40848fa0b61a6798c90121e1d31dceee815946bde621e01f50a8353d4cd22bce864af080e4342e036bab9bfe1f61f99083620885f9e252ce11895
diff --git a/dev-libs/libcpuid/libcpuid-0.8.1.ebuild
b/dev-libs/libcpuid/libcpuid-0.8.1.ebuild
new file mode 100644
index 000000000000..a6d8757cdbb5
--- /dev/null
+++ b/dev-libs/libcpuid/libcpuid-0.8.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=(python3_{9..13})
+
+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
+}