From 3d12b65aa1b4bb8b02b1f8d3e77bccf230b79a09 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 1 May 2024 00:00:05 +0100 Subject: gentoo auto-resync : 01:05:2024 - 00:00:04 --- dev-libs/libcpuid/Manifest | 2 ++ dev-libs/libcpuid/libcpuid-0.6.5.ebuild | 37 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-libs/libcpuid/libcpuid-0.6.5.ebuild (limited to 'dev-libs/libcpuid') diff --git a/dev-libs/libcpuid/Manifest b/dev-libs/libcpuid/Manifest index d4418dbc46c0..a60e64a29732 100644 --- a/dev-libs/libcpuid/Manifest +++ b/dev-libs/libcpuid/Manifest @@ -1,3 +1,5 @@ DIST libcpuid-0.6.4.tar.gz 338722 BLAKE2B ad23c13c48b0244f401a60d07fb569712f24b4d1f2bcd16f8d0240c6a39f8afae8944c9d3b4f486d3e1727157d642915c794fc89f9af315a2c4daf64625fdf25 SHA512 5396301d2a5485c6cf15a2fa8eab0ce28d967fe0dcf0776fec3618b963bc786499032150037f6b9123738e094d41583a331bcea25e502b5025ec6f03d318f77e +DIST libcpuid-0.6.5.tar.gz 370297 BLAKE2B 56394c0f99ee514bad115e614a27e3771e3ab0a27c7e980ed50419f6b22c268461db97aed8c879a66894ea34c788ed7a154ea403ec07a552fb524e321aa931e0 SHA512 c38381e0f768a2cd2a5df601cbcc50d1cb93a276c477bc09e69ff61de01aef30c0b3163f4a0c8e7641caa3cf692d468410ebc90a3cad93e0476cddeb0c444d7b EBUILD libcpuid-0.6.4.ebuild 753 BLAKE2B 6d2af2ea5a2c8ea9f811fdf685c632ab2a4f3004e9ab4a452e1b1c606ab9e98d3922b118539c0191253950ae256d67d01cc728896850b291f89925937b9cf811 SHA512 cca9245d54533536d1e00f873231a7414a36f96f0079f732448c7cadaa88aadba45cefc2c64b2500ab2ae6715724e37c5c21defaea73eb42a870484115d2941d +EBUILD libcpuid-0.6.5.ebuild 753 BLAKE2B 6d2af2ea5a2c8ea9f811fdf685c632ab2a4f3004e9ab4a452e1b1c606ab9e98d3922b118539c0191253950ae256d67d01cc728896850b291f89925937b9cf811 SHA512 cca9245d54533536d1e00f873231a7414a36f96f0079f732448c7cadaa88aadba45cefc2c64b2500ab2ae6715724e37c5c21defaea73eb42a870484115d2941d MISC metadata.xml 2130 BLAKE2B 729a7382c0d844c94da0f24c0a96d6570fbb75202436298dafe21611c8047ddbf5d1479e5ab73655bfa28af5165bde93028ed662ae2c9c294474958bb6b5ef60 SHA512 62b2bdbeb95b3716b40532658720a63825e54c64f312151dd220070ac84d3a067658fbc69b1804afc00c861ebd4f0f0c389c007b1b70a06ffe1e4a7975bd5f3c diff --git a/dev-libs/libcpuid/libcpuid-0.6.5.ebuild b/dev-libs/libcpuid/libcpuid-0.6.5.ebuild new file mode 100644 index 000000000000..b50a14f5886c --- /dev/null +++ b/dev-libs/libcpuid/libcpuid-0.6.5.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=(python3_{9..12}) + +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