Page MenuHomeSolus

package.yml
No OneTemporary

package.yml

name : linux-tools
version : 5.15.61
release : 81
source :
- https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.61.tar.xz : 3bc9d6a2df009a5b3764349cab99b4b1c587875c5e442e03615498f0e307fd42
license : GPL-2.0-only
component :
- programming.tools
- bpftool : system.utils
- cpupower : programming.library
- cpupower-devel : programming.devel
- turbostat : system.utils
- x86_energy_perf_policy : system.utils
summary :
- Useful kernel development tools such as perf
- bpftool : BPF utilities
- cpupower : The cpupower program
- cpupower-devel : Development files for linux-tools-cpupower
- turbostat : Reports on processor topology, frequency, idle power-state statistics, temperature, and power usage on Intel processors.
- x86_energy_perf_policy : Allows programs and admins to define the relative importance of performance and energy efficiency.
description:
- Useful kernel development tools such as perf
- bpftool : BPF utilities
- cpupower : The cpupower program
- cpupower-devel : Development files for linux-tools-cpupower
- turbostat : Reports on processor topology, frequency, idle power-state statistics, temperature, and power usage on Intel processors.
- x86_energy_perf_policy : Allows programs and admins to define the relative importance of performance and energy efficiency.
libsplit : no
patterns :
- main :
- /usr/include
- bpftool :
- /usr/bin/bpf*
- /usr/share/bash-completion/completions/bpftool
- /usr/share/man/man*/bpf*
- cpupower :
- /usr/bin/cpu*
- /usr/sbin/cpu*
- /usr/lib64/libcpu*.so.*
- /usr/share/locale
- /usr/share/man/man1/cpu*
- cpupower-devel :
- /usr/include/cpu*.h
- /usr/lib64/libcpu*.so
- turbostat :
- /usr/bin/turbostat
- /usr/share/man/man8/turbostat.8
- x86_energy_perf_policy :
- /usr/bin/x86_energy_perf_policy
- /usr/share/man/man8/x86_energy_perf_policy.8
replaces :
- kernel-tools
builddeps :
- pkgconfig(audit)
- pkgconfig(devmapper)
- pkgconfig(libcap)
- pkgconfig(libpci)
- pkgconfig(libunwind)
- pkgconfig(libzstd)
- pkgconfig(python3)
- pkgconfig(slang)
- asciidoc
- elfutils-devel
- libelf-devel
- llvm-clang
- python-docutils
- xmlto
environment: |
export GCC_IGNORE_WERROR=1 # please for the love of god stop.
setup : |
%patch -p1 -i $pkgfiles/0001-Linux-5.15-binutils-2.39.patch
%patch -p1 -i $pkgfiles/dis-asm-compat-header-file.patch
%patch -p1 -i $pkgfiles/init_disassemble_info-binutils-2.39.patch
%patch -p1 -i $pkgfiles/perf-binutils-2.39.patch
build : |
%make V=1 -j1 -C tools/bpf/bpftool prefix=/usr all doc
%make V=1 -C tools/bpf -W runqslower prefix=/usr
%make V=1 -C tools/perf PYTHON=python3 PYTHON_CONFIG=python3-config PERF_VERSION=%version% prefix=/usr
%make V=1 -C tools/power/cpupower prefix=/usr
%make V=1 -C tools/power/x86/x86_energy_perf_policy prefix=/usr
%make V=1 -C tools/power/x86/turbostat prefix=/usr
install : |
install -dm00755 $installdir/usr/share/man/man8
%make_install -C tools/bpf -W runqslower_install prefix=/usr
mv $installdir/usr/{sbin,bin}/bpftool
%make_install -C tools/bpf/bpftool doc-install prefix=/usr/share
%make_install -C tools/perf PYTHON=python3 PYTHON_CONFIG=python3-config PERF_VERSION=%version% WERROR=0 prefix=/usr
%make_install -C tools/power/cpupower prefix=/usr mandir=/usr/share/man docdir=/usr/share/doc/${package} libdir=%libdir%
install -D -m 00644 $installdir/etc/bash_completion.d/perf $installdir/usr/share/bash-completion/completions/perf
%make_install -C tools/power/cpupower prefix=/usr mandir=/usr/share/man docdir=/usr/share/doc/${package} libdir=%libdir%
%make_install -C tools/power/x86/turbostat prefix=/usr man8dir=/usr/share/man
%make_install -C tools/power/x86/x86_energy_perf_policy prefix=/usr man8dir=/usr/share/man
rm -rf $installdir/etc
rm -rf $installdir/usr/share/sbin

File Metadata

Mime Type
text/plain
Expires
Thu, Aug 10, 11:37 AM (1 d, 21 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5894599
Default Alt Text
package.yml (4 KB)

Event Timeline