diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-libs/libcpuid | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-libs/libcpuid')
| -rw-r--r-- | dev-libs/libcpuid/Manifest | 1 | ||||
| -rw-r--r-- | dev-libs/libcpuid/libcpuid-0.8.1.ebuild | 37 | ||||
| -rw-r--r-- | dev-libs/libcpuid/metadata.xml | 52 |
3 files changed, 90 insertions, 0 deletions
diff --git a/dev-libs/libcpuid/Manifest b/dev-libs/libcpuid/Manifest new file mode 100644 index 000000000000..62021ffd6167 --- /dev/null +++ b/dev-libs/libcpuid/Manifest @@ -0,0 +1 @@ +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..df3065d4a428 --- /dev/null +++ b/dev-libs/libcpuid/libcpuid-0.8.1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{13..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 +} diff --git a/dev-libs/libcpuid/metadata.xml b/dev-libs/libcpuid/metadata.xml new file mode 100644 index 000000000000..d6b2140dc63d --- /dev/null +++ b/dev-libs/libcpuid/metadata.xml @@ -0,0 +1,52 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bkohler@gentoo.org</email> + <name>Ben Kohler</name> + </maintainer> + <longdescription> + <pkg>dev-libs/libcpuid</pkg> is a small C library for x86 (and x86_64) + CPU detection and feature extraction. Using it, you can: + - get the processor vendor, model, code name, etc. + - get information about CPU features such as: number of cores or + logical CPUs, cache sizes, CPU clock, etc. + - check if the processor implements a specific instruction set such as + the SSE2, 3DNow!, etc. + - execute the CPUID and RDTSC instructions. + - have this all in your commercial application, without getting into + trouble. + </longdescription> + <longdescription lang="fr"> + <pkg>dev-libs/libcpuid</pkg> est une petite bibliothèque C pour la + détection de CPU x86 (et x86_64) et l'extraction de fonctions. En + l'utilisant, vous pouvez : + - obtenir le vendeur du processeur, le modèle, le nom de code, etc. + - obtenir des informations sur les caractéristiques du CPU telles que : + le nombre de cœurs ou d'unités logiques, les tailles des caches, + l'horloge CPU, etc. + - vérifier si le processeur implémente un jeu d'instructions spécifique + tel que l'instruction SSE2, 3DNow!, etc. + - exécuter les instructions CPUID et RDTSC. + - avoir tout cela dans votre application commerciale, sans avoir + d'ennuis. + </longdescription> + <slots> + <subslots>Reflect ABI compatibility for libcpuid.so</subslots> + </slots> + <slots lang="fr"> + <subslots> + Reflétent la compatibilité de l'interface binaire-programme + (A.B.I.) de libcpuid.so + </subslots> + </slots> + <upstream> + <maintainer status="active"> + <name>Veselin Georgiev</name> + </maintainer> + <changelog>https://raw.githubusercontent.com/anrieff/libcpuid/master/ChangeLog</changelog> + <doc>http://libcpuid.sourceforge.net/doxy/index.html</doc> + <bugs-to>https://github.com/anrieff/libcpuid/issues/</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
