summaryrefslogtreecommitdiff
path: root/dev-libs/libcpuid
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libcpuid')
-rw-r--r--dev-libs/libcpuid/Manifest4
-rw-r--r--dev-libs/libcpuid/libcpuid-0.7.0-r1.ebuild37
-rw-r--r--dev-libs/libcpuid/metadata.xml2
3 files changed, 41 insertions, 2 deletions
diff --git a/dev-libs/libcpuid/Manifest b/dev-libs/libcpuid/Manifest
index a60e64a29732..bb89d0d54516 100644
--- a/dev-libs/libcpuid/Manifest
+++ b/dev-libs/libcpuid/Manifest
@@ -1,5 +1,7 @@
DIST libcpuid-0.6.4.tar.gz 338722 BLAKE2B ad23c13c48b0244f401a60d07fb569712f24b4d1f2bcd16f8d0240c6a39f8afae8944c9d3b4f486d3e1727157d642915c794fc89f9af315a2c4daf64625fdf25 SHA512 5396301d2a5485c6cf15a2fa8eab0ce28d967fe0dcf0776fec3618b963bc786499032150037f6b9123738e094d41583a331bcea25e502b5025ec6f03d318f77e
DIST libcpuid-0.6.5.tar.gz 370297 BLAKE2B 56394c0f99ee514bad115e614a27e3771e3ab0a27c7e980ed50419f6b22c268461db97aed8c879a66894ea34c788ed7a154ea403ec07a552fb524e321aa931e0 SHA512 c38381e0f768a2cd2a5df601cbcc50d1cb93a276c477bc09e69ff61de01aef30c0b3163f4a0c8e7641caa3cf692d468410ebc90a3cad93e0476cddeb0c444d7b
+DIST libcpuid-0.7.0.tar.gz 442324 BLAKE2B fb3248227ac43fe536b66ee0b13dcb514aeb5be43d09b5a3ada5d944b869b9e6d311b4f1046869aa1f1b00c5c5a7254eeb8206094af1cd6487cefa2aafe78458 SHA512 26353763461cbbe664ddaa6933cbd9016e3b11d8a056bc8c2b92818dfe3a43fcda76a92270f716eeb00ae61b75288c7079add8d7ac2290a0a0d5c3bd7d898d44
EBUILD libcpuid-0.6.4.ebuild 753 BLAKE2B 6d2af2ea5a2c8ea9f811fdf685c632ab2a4f3004e9ab4a452e1b1c606ab9e98d3922b118539c0191253950ae256d67d01cc728896850b291f89925937b9cf811 SHA512 cca9245d54533536d1e00f873231a7414a36f96f0079f732448c7cadaa88aadba45cefc2c64b2500ab2ae6715724e37c5c21defaea73eb42a870484115d2941d
EBUILD libcpuid-0.6.5.ebuild 753 BLAKE2B 6d2af2ea5a2c8ea9f811fdf685c632ab2a4f3004e9ab4a452e1b1c606ab9e98d3922b118539c0191253950ae256d67d01cc728896850b291f89925937b9cf811 SHA512 cca9245d54533536d1e00f873231a7414a36f96f0079f732448c7cadaa88aadba45cefc2c64b2500ab2ae6715724e37c5c21defaea73eb42a870484115d2941d
-MISC metadata.xml 2130 BLAKE2B 729a7382c0d844c94da0f24c0a96d6570fbb75202436298dafe21611c8047ddbf5d1479e5ab73655bfa28af5165bde93028ed662ae2c9c294474958bb6b5ef60 SHA512 62b2bdbeb95b3716b40532658720a63825e54c64f312151dd220070ac84d3a067658fbc69b1804afc00c861ebd4f0f0c389c007b1b70a06ffe1e4a7975bd5f3c
+EBUILD libcpuid-0.7.0-r1.ebuild 753 BLAKE2B f7e21ad3e8608f2ba69919263f9efecb8fab0ccfbcf98b5d6603f5ad4d16effc79f5f7f9ac46dfd5bdf428ec97b2e0565848916201883d7cb50f5c2517397d06 SHA512 3f0bbc8c6690b7f36d76a091a8736a8025827e0af71792b27fc3db0f164517ee0e5657b5c563b0d41074d0b566b537e4406319d9dbb460f839ceffc1ff73b141
+MISC metadata.xml 2131 BLAKE2B acd89692a48a848792207fa221ff6b0ffd6428b2c65dc614e56d81761ac19d7527f7ae1758b6805b24550c51c324b1aa16b0103029cc4bab617f9dad1a5bd586 SHA512 02f248fd8ce089f6d99dbe3d4902ffc42ad3962239bd70e3e5bbf5498ab5539ed0b7aed808e1c4d15d9e4fab902ce570a8a143c5481d6c7cff50c280896e5106
diff --git a/dev-libs/libcpuid/libcpuid-0.7.0-r1.ebuild b/dev-libs/libcpuid/libcpuid-0.7.0-r1.ebuild
new file mode 100644
index 000000000000..a336c5daa7e3
--- /dev/null
+++ b/dev-libs/libcpuid/libcpuid-0.7.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=(python3_{9..12})
+
+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
index eb3dc623eb52..f3cbbd52556d 100644
--- a/dev-libs/libcpuid/metadata.xml
+++ b/dev-libs/libcpuid/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>bkohler@gentoo.org</email>