From b6d6252a29314f1b13e746baa6f9fb2d6d33b72c Mon Sep 17 00:00:00 2001 From: Ben Kohler Date: Mon, 9 Oct 2023 10:21:47 -0500 Subject: dev-libs/libcpuid: add 0.6.4 Signed-off-by: Ben Kohler --- dev-libs/libcpuid/libcpuid-0.6.4.ebuild | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dev-libs/libcpuid/libcpuid-0.6.4.ebuild (limited to 'dev-libs/libcpuid/libcpuid-0.6.4.ebuild') 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 +} -- cgit v1.2.3-65-gdbad