mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
dev-libs/libcpuid: add 0.8.1
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
parent
c9901d5131
commit
a859a940cb
@ -1 +1,2 @@
|
||||
DIST libcpuid-0.8.0.tar.gz 629056 BLAKE2B d5976cec947f528ebdde1c6bec5fca0cf4ccca8509675fb614113a9e9917e976aafd1324279b5dff85066ef7d70b8314aa53a235d113e8186766f5357da07f83 SHA512 4bf37263639cdc078103f1c54e9b5cba779387d3636b4432e509f021a278634dc4fe6337ae261f903cb97d1239652f552fe6508db8b517da8ba79eb6ada715d5
|
||||
DIST libcpuid-0.8.1.tar.gz 511050 BLAKE2B d008f02e2a9a3d27e5491c0b6d4631f1e464e2a143b257ebe72b4789741c97cf6687c531ec4d3fc2e8469159957b652787cc677bad7a257029b9e16e1afde440 SHA512 6b642418bef40848fa0b61a6798c90121e1d31dceee815946bde621e01f50a8353d4cd22bce864af080e4342e036bab9bfe1f61f99083620885f9e252ce11895
|
||||
|
||||
37
dev-libs/libcpuid/libcpuid-0.8.1.ebuild
Normal file
37
dev-libs/libcpuid/libcpuid-0.8.1.ebuild
Normal file
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=(python3_{9..13})
|
||||
|
||||
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/17"
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user