summaryrefslogtreecommitdiff
path: root/dev-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-19 20:37:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-19 20:37:19 +0100
commit343082998723d09c7b354eb21ff4793c6d4fda3e (patch)
tree1ac116f7e87117a78651da3a40230efefd5bf847 /dev-libs
parentb1f2cdf56e5eea363adc4c1ea1bd418f65733a7a (diff)
gentoo auto-resync : 19:08:2022 - 20:37:18
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/Manifest.gzbin95128 -> 95299 bytes
-rw-r--r--dev-libs/libcpuid/Manifest3
-rw-r--r--dev-libs/libcpuid/libcpuid-0.5.1.ebuild37
-rw-r--r--dev-libs/libcpuid/metadata.xml52
4 files changed, 92 insertions, 0 deletions
diff --git a/dev-libs/Manifest.gz b/dev-libs/Manifest.gz
index 73cd2a61e684..71df848cf071 100644
--- a/dev-libs/Manifest.gz
+++ b/dev-libs/Manifest.gz
Binary files differ
diff --git a/dev-libs/libcpuid/Manifest b/dev-libs/libcpuid/Manifest
new file mode 100644
index 000000000000..98424dcef939
--- /dev/null
+++ b/dev-libs/libcpuid/Manifest
@@ -0,0 +1,3 @@
+DIST libcpuid-0.5.1.tar.gz 166522 BLAKE2B 3471c11bbe4b0eaac7b00ac20a27556a95991f1b678269ae6f142a0fe2db066ebb756722ae2e76f95158742c93e29a35da6e735226d32b746034acae3ec2a5b7 SHA512 d725bc82e5aa2db69cea7b3590afbe11d6028cf4802fde8d498b4f1cc6d823e73d71b89a453d81bf996d97b36a71f6c00d0f6e8292b72f2be8a64b5d59c01861
+EBUILD libcpuid-0.5.1.ebuild 753 BLAKE2B d01fe11a825a7e708f94c0f765921317d1364c535e080848d76581d868a7c383fbacad54a6cd8ce0eced41115ed5db383060d2460b948075fd092bb4b1075bbe SHA512 df249ef974f257d4908b7c770781001903ad83698d02d910d09ceb3d644c89abe90a743861077d5b24b3c00dd26522400c33669778f6f9e3759a3873bd269a06
+MISC metadata.xml 2130 BLAKE2B 68d843e15bd594b8c8444049acf5f5c08b21c4e72e3fe554ec72e254293bf8e19524318603af6fbe4ea8d236c2f34ae02d49289a2e3294479ef479f736fe8847 SHA512 22e24ed8291c4be11f087fb596c5ba78f5d84a3579080dc088c8ef390dcd9477f9903ed9b9dab36d43ca7f2b35878405bb08d1e75ecb64d9e253139f0e4d94fe
diff --git a/dev-libs/libcpuid/libcpuid-0.5.1.ebuild b/dev-libs/libcpuid/libcpuid-0.5.1.ebuild
new file mode 100644
index 000000000000..5226c31da62b
--- /dev/null
+++ b/dev-libs/libcpuid/libcpuid-0.5.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=(python3_{9..11})
+
+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/15"
+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..fd09e47dd7c1
--- /dev/null
+++ b/dev-libs/libcpuid/metadata.xml
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>bkohler@gentoo.org</email>
+ <name>Ben Kohler</name>
+ </maintainer>
+ <longdescription>
+ <pkg>sys-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>sys-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>
+ <remote-id type="github">anrieff/libcpuid</remote-id>
+ </upstream>
+</pkgmetadata>