void-packages/srcpkgs/cpufrequtils/template

37 lines
981 B
Text
Raw Normal View History

# Template file for 'cpufrequtils'
pkgname=cpufrequtils
2011-05-05 08:42:17 +00:00
version=008
revision=6
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"
maintainer="Juan RP <xtraeme@gmail.com>"
distfiles="http://mirror.linux.org.au/linux/utils/kernel/cpufreq/${pkgname}-${version}.tar.bz2"
2011-05-05 08:42:17 +00:00
checksum=1b9daa591d977679fb09ffb9b4d58afa94b9387f3c0be92ec077080e328130f1
2014-02-18 15:19:53 +00:00
only_for_archs="i686 x86_64"
2012-05-23 09:28:11 +00:00
do_build() {
2015-02-23 10:49:51 +00:00
make CC=$CC CFLAGS="$CFLAGS" STRIP=true
2011-05-05 08:42:17 +00:00
}
2012-05-23 09:28:11 +00:00
do_install() {
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
}
libcpufreq_package() {
short_desc="Library for the kernel cpufreq subsystem"
pkg_install() {
2014-02-18 15:20:35 +00:00
vmove "usr/lib/*.so.*"
}
}
libcpufreq-devel_package() {
conflicts="libcpupower-devel>=0"
depends="libcpufreq>=${version}_${revision}"
short_desc="libcpufreq - development tools"
pkg_install() {
vmove usr/include
2014-02-18 15:17:08 +00:00
vmove "usr/lib/*.so"
}
}