dcb199829c
Closes: #11975 [via git-merge-pr]
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'cpufrequtils'
|
|
pkgname=cpufrequtils
|
|
version=008
|
|
revision=12
|
|
_commit=a2f0c39d5f21596bb9f5223e895c0ff210b265d0
|
|
wrksrc="${pkgname}-${_commit}"
|
|
build_style=gnu-makefile
|
|
make_build_args="STRIP=true"
|
|
make_install_args="mandir=/usr/share/man"
|
|
short_desc="Userspace tools for the Linux kernel cpufreq subsystem"
|
|
homepage="https://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpufrequtils.git"
|
|
license="GPL-2"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
distfiles="${homepage}/snapshot/${pkgname}-${_commit}.tar.gz"
|
|
checksum=53b0fd1092e2053d31f4707ae0485f0d09b7faafcfac0e53da06c28ecfe23c95
|
|
|
|
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
|
|
|
|
post_extract() {
|
|
sed -i "s|/usr/bin/install|install|g" Makefile
|
|
}
|
|
|
|
libcpufreq_package() {
|
|
short_desc="Library for the kernel cpufreq subsystem"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
libcpufreq-devel_package() {
|
|
conflicts="libcpupower-devel>=0"
|
|
depends="libcpufreq>=${version}_${revision}"
|
|
short_desc="Library for the kernel cpufreq subsystem - development tools"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|