1 |
commit: ae7fcb669cd196e224c9daa72e27bc4d917b4478 |
2 |
Author: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 28 14:15:29 2022 +0000 |
4 |
Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 28 14:17:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae7fcb66 |
7 |
|
8 |
dev-libs/libcpuid: add 0.6.0 |
9 |
|
10 |
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org> |
11 |
|
12 |
dev-libs/libcpuid/Manifest | 1 + |
13 |
dev-libs/libcpuid/libcpuid-0.6.0.ebuild | 37 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libcpuid/Manifest b/dev-libs/libcpuid/Manifest |
17 |
index 10355dba230b..23f1f5e328da 100644 |
18 |
--- a/dev-libs/libcpuid/Manifest |
19 |
+++ b/dev-libs/libcpuid/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST libcpuid-0.5.1.tar.gz 166522 BLAKE2B 3471c11bbe4b0eaac7b00ac20a27556a95991f1b678269ae6f142a0fe2db066ebb756722ae2e76f95158742c93e29a35da6e735226d32b746034acae3ec2a5b7 SHA512 d725bc82e5aa2db69cea7b3590afbe11d6028cf4802fde8d498b4f1cc6d823e73d71b89a453d81bf996d97b36a71f6c00d0f6e8292b72f2be8a64b5d59c01861 |
22 |
+DIST libcpuid-0.6.0.tar.gz 240709 BLAKE2B 6be56956d17aab774282b3e2be83b02f0180153af9cea665dbf8a8a216b35fd8c030b053184d09ac3946d163943281ecb906134290516d8063380749944339e8 SHA512 9f80f0d45f408d35d9ee657d8f53c99bb14e37d26a8a7b6a914546f0446f83a3d75eb06d261c7708a810ba10ce6fadaef54ba7c94cbf22cd113a9f2210c1a708 |
23 |
|
24 |
diff --git a/dev-libs/libcpuid/libcpuid-0.6.0.ebuild b/dev-libs/libcpuid/libcpuid-0.6.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..c3576366dccf |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libcpuid/libcpuid-0.6.0.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=(python3_{9..11}) |
36 |
+ |
37 |
+inherit autotools python-any-r1 |
38 |
+ |
39 |
+DESCRIPTION="A small C library for x86 (and x86_64) CPU detection and feature extraction" |
40 |
+HOMEPAGE="http://libcpuid.sourceforge.net/" |
41 |
+SRC_URI="https://github.com/anrieff/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+LICENSE="BSD-2" |
43 |
+SLOT="0/16" |
44 |
+KEYWORDS="~amd64" |
45 |
+IUSE="static-libs test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+DEPEND="test? ( ${PYTHON_DEPS} )" |
49 |
+ |
50 |
+pkg_setup() { |
51 |
+ use test && python-any-r1_pkg_setup |
52 |
+} |
53 |
+ |
54 |
+src_prepare() { |
55 |
+ default |
56 |
+ eautoreconf |
57 |
+} |
58 |
+ |
59 |
+src_configure() { |
60 |
+ econf "$(use_enable static-libs static)" |
61 |
+} |
62 |
+ |
63 |
+src_install() { |
64 |
+ default |
65 |
+ find "${ED}" -name "*.la" -delete || die |
66 |
+} |