43 lines
971 B
Plaintext
43 lines
971 B
Plaintext
# Template file for 'cpufrequtils'
|
|
pkgname=cpufrequtils
|
|
version=008
|
|
revision=3
|
|
short_desc="Userspace tools for the Linux kernel cpufreq subsystem"
|
|
homepage="ftp://ftp.archlinux.org/other/cpufrequtils/"
|
|
license="GPL-2"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.bz2"
|
|
checksum=1b9daa591d977679fb09ffb9b4d58afa94b9387f3c0be92ec077080e328130f1
|
|
long_desc="
|
|
Userspace tools for the Linux kernel cpufreq subsystem."
|
|
|
|
do_build() {
|
|
make V=1
|
|
}
|
|
|
|
do_install() {
|
|
sed -i "s|/usr/bin/install|install|g" Makefile
|
|
make DESTDIR=${DESTDIR} mandir=/usr/share/man install
|
|
}
|
|
|
|
libcpufreq_package() {
|
|
short_desc="Library for the kernel cpufreq subsystem"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so*" usr/lib
|
|
}
|
|
}
|
|
|
|
libcpufreq-devel_package() {
|
|
depends="libcpufreq>=${version}"
|
|
short_desc="libcpufreq - development tools"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
}
|
|
}
|
|
|
|
cpufrequtils_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|