From 09f46eb2a6639c039b0b4268a8410d93bbf14e9e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Apr 2023 17:20:42 +0100 Subject: gentoo auto-resync : 03:04:2023 - 17:20:42 --- dev-libs/libcpuid/libcpuid-0.6.3.ebuild | 37 +++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 dev-libs/libcpuid/libcpuid-0.6.3.ebuild (limited to 'dev-libs/libcpuid/libcpuid-0.6.3.ebuild') 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 +} -- cgit v1.2.3