2010-04-13 19:50:33 +00:00
|
|
|
# Template file for 'cpufrequtils'
|
|
|
|
pkgname=cpufrequtils
|
2011-05-05 08:42:17 +00:00
|
|
|
version=008
|
2013-03-31 07:35:52 +00:00
|
|
|
revision=3
|
2011-05-05 08:42:17 +00:00
|
|
|
short_desc="Userspace tools for the Linux kernel cpufreq subsystem"
|
2013-03-31 07:35:52 +00:00
|
|
|
homepage="ftp://ftp.archlinux.org/other/cpufrequtils/"
|
|
|
|
license="GPL-2"
|
2010-04-13 19:50:33 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-12 06:55:23 +00:00
|
|
|
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$version.tar.bz2"
|
2011-05-05 08:42:17 +00:00
|
|
|
checksum=1b9daa591d977679fb09ffb9b4d58afa94b9387f3c0be92ec077080e328130f1
|
2010-04-13 19:50:33 +00:00
|
|
|
long_desc="
|
2011-05-05 08:42:17 +00:00
|
|
|
Userspace tools for the Linux kernel cpufreq subsystem."
|
2010-04-13 19:50:33 +00:00
|
|
|
|
2012-05-23 09:28:11 +00:00
|
|
|
do_build() {
|
2011-05-05 08:42:17 +00:00
|
|
|
make V=1
|
|
|
|
}
|
|
|
|
|
2012-05-23 09:28:11 +00:00
|
|
|
do_install() {
|
2011-07-02 22:44:22 +00:00
|
|
|
sed -i "s|/usr/bin/install|install|g" Makefile
|
2011-05-05 08:42:17 +00:00
|
|
|
make DESTDIR=${DESTDIR} mandir=/usr/share/man install
|
2010-04-13 19:50:33 +00:00
|
|
|
}
|
2013-04-12 06:55:23 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|