summaryrefslogtreecommitdiff
path: root/dev-libs/libcpuid
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-03 17:20:42 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-03 17:20:42 +0100
commit09f46eb2a6639c039b0b4268a8410d93bbf14e9e (patch)
treed1420dd9d7fd41dd0e684e1d13737b4da195a5ae /dev-libs/libcpuid
parent7837a76c344b64e925519dd5e26233bb3b648beb (diff)
gentoo auto-resync : 03:04:2023 - 17:20:42
Diffstat (limited to 'dev-libs/libcpuid')
-rw-r--r--dev-libs/libcpuid/Manifest2
-rw-r--r--dev-libs/libcpuid/libcpuid-0.6.3.ebuild37
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libcpuid/Manifest b/dev-libs/libcpuid/Manifest
index 00f9d5d43939..36d1aded62ec 100644
--- a/dev-libs/libcpuid/Manifest
+++ b/dev-libs/libcpuid/Manifest
@@ -1,3 +1,5 @@
DIST libcpuid-0.6.2.tar.gz 265896 BLAKE2B 27f7c6c6a8bce6f27ca2f537c0255d8e8efa4ca5a7a278deecdb7b5c122830cc49e7e4524a2b2c0c39c0a43b3d05649c5e95a1bee843b6ddd981e3bee33383ab SHA512 36175387ae86e6f602544c516a875ac7fe0a3bde52e3e3c09f8852a804dd252694e17c638723aa3d36219d4588981cfd2261086bcf561d175e7c038e3a69e2ff
+DIST libcpuid-0.6.3.tar.gz 279969 BLAKE2B c789ed211dfea9741536ba651973e0fa16315b174a3d3a77cdeb5d8e7734fae6891cdc2ff8f697cde4efd9ffe991ea59dae3431bc5990af08df27a1eabb67c4a SHA512 5351a5b86c8d06d18392649f9834f80fb7500252a5e5bf22f96f86e014e6695ef1da6fdc27251839352ce35837eebaac5f20570f8cb1b95adec816db7ee413f5
EBUILD libcpuid-0.6.2.ebuild 753 BLAKE2B f2868a5e15edb572e13c2e6ce58aeb4d31966fbb73c1e5c6bc2f0730f936438f5019f696cf8e35fa01acca39cb06b0b074f6281251b7ed59a8e11e3c46119a31 SHA512 03beaa05a4d3c7f1b1f268b1c73a7e216040f3b04c8cc68d55212142db2408d39f2089d492047ccbfe1a9945db7849e7e752bff092dcae3deeda620a25ba27a7
+EBUILD libcpuid-0.6.3.ebuild 753 BLAKE2B a39030f3f1fd7f784ce96aff05f03083ffebba4185903d53595b262277962c5268892ef88e48b42cdab02d3ae2cd5e1c01f17b6afdec9eef4e2c5f06db8a1e5e SHA512 7a5f4e5b4a0bdc36a51556517af34ce89519eca2ef0e6b933308f145531189be93586cc473f6116142b966f4472cf87f6eada272024d80f32aaafe6d75a1d730
MISC metadata.xml 2130 BLAKE2B 729a7382c0d844c94da0f24c0a96d6570fbb75202436298dafe21611c8047ddbf5d1479e5ab73655bfa28af5165bde93028ed662ae2c9c294474958bb6b5ef60 SHA512 62b2bdbeb95b3716b40532658720a63825e54c64f312151dd220070ac84d3a067658fbc69b1804afc00c861ebd4f0f0c389c007b1b70a06ffe1e4a7975bd5f3c
diff --git a/dev-libs/libcpuid/libcpuid-0.6.3.ebuild b/dev-libs/libcpuid/libcpuid-0.6.3.ebuild
new file mode 100644
index 000000000000..75cb5bcb7074
--- /dev/null
+++ b/dev-libs/libcpuid/libcpuid-0.6.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 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/16"
+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
+}