diff options
author | Ben Kohler <bkohler@gentoo.org> | 2023-10-09 10:21:47 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2023-10-09 11:06:39 -0500 |
commit | b6d6252a29314f1b13e746baa6f9fb2d6d33b72c (patch) | |
tree | 0a4db0222d046711dbdd6c390e226d7c2507bfab /dev-libs/libcpuid | |
parent | dev-util/pwntools: add bash/zsh completion (diff) | |
download | gentoo-b6d6252a29314f1b13e746baa6f9fb2d6d33b72c.tar.gz gentoo-b6d6252a29314f1b13e746baa6f9fb2d6d33b72c.tar.bz2 gentoo-b6d6252a29314f1b13e746baa6f9fb2d6d33b72c.zip |
dev-libs/libcpuid: add 0.6.4
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'dev-libs/libcpuid')
-rw-r--r-- | dev-libs/libcpuid/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libcpuid/libcpuid-0.6.4.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-libs/libcpuid/Manifest b/dev-libs/libcpuid/Manifest index 82ef880e0764..2c531f79549d 100644 --- a/dev-libs/libcpuid/Manifest +++ b/dev-libs/libcpuid/Manifest @@ -1,2 +1,3 @@ DIST libcpuid-0.6.2.tar.gz 265896 BLAKE2B 27f7c6c6a8bce6f27ca2f537c0255d8e8efa4ca5a7a278deecdb7b5c122830cc49e7e4524a2b2c0c39c0a43b3d05649c5e95a1bee843b6ddd981e3bee33383ab SHA512 36175387ae86e6f602544c516a875ac7fe0a3bde52e3e3c09f8852a804dd252694e17c638723aa3d36219d4588981cfd2261086bcf561d175e7c038e3a69e2ff DIST libcpuid-0.6.3.tar.gz 279969 BLAKE2B c789ed211dfea9741536ba651973e0fa16315b174a3d3a77cdeb5d8e7734fae6891cdc2ff8f697cde4efd9ffe991ea59dae3431bc5990af08df27a1eabb67c4a SHA512 5351a5b86c8d06d18392649f9834f80fb7500252a5e5bf22f96f86e014e6695ef1da6fdc27251839352ce35837eebaac5f20570f8cb1b95adec816db7ee413f5 +DIST libcpuid-0.6.4.tar.gz 338722 BLAKE2B ad23c13c48b0244f401a60d07fb569712f24b4d1f2bcd16f8d0240c6a39f8afae8944c9d3b4f486d3e1727157d642915c794fc89f9af315a2c4daf64625fdf25 SHA512 5396301d2a5485c6cf15a2fa8eab0ce28d967fe0dcf0776fec3618b963bc786499032150037f6b9123738e094d41583a331bcea25e502b5025ec6f03d318f77e diff --git a/dev-libs/libcpuid/libcpuid-0.6.4.ebuild b/dev-libs/libcpuid/libcpuid-0.6.4.ebuild new file mode 100644 index 000000000000..75cb5bcb7074 --- /dev/null +++ b/dev-libs/libcpuid/libcpuid-0.6.4.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 +} |