38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'cpufrequtils'
|
|
pkgname=cpufrequtils
|
|
version=008
|
|
revision=13
|
|
_commit=a2f0c39d5f21596bb9f5223e895c0ff210b265d0
|
|
build_style=gnu-makefile
|
|
make_build_args="STRIP=true"
|
|
make_install_args="mandir=/usr/share/man"
|
|
hostmakedepends="gettext"
|
|
short_desc="Userspace tools for the Linux kernel cpufreq subsystem"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://git.kernel.org/pub/scm/linux/kernel/git/brodo/cpufrequtils.git"
|
|
distfiles="${homepage}/snapshot/${pkgname}-${_commit}.tar.gz"
|
|
checksum=53b0fd1092e2053d31f4707ae0485f0d09b7faafcfac0e53da06c28ecfe23c95
|
|
|
|
archs="i686* x86_64* ppc* aarch64*"
|
|
|
|
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"
|
|
}
|
|
}
|