Added cpufrequtils-007 build template.

--HG--
extra : convert_revision : d2fc9512e2e2c55d1fb5b2f2d2b75438aec6c85d
This commit is contained in:
Juan RP 2010-04-13 21:50:33 +02:00
parent 3da79bbc10
commit e830dbcac3
7 changed files with 55 additions and 0 deletions

View file

@ -0,0 +1,2 @@
abi_depends=">=007"
api_depends="${abi_depends}"

View file

@ -0,0 +1,15 @@
# Template file for 'libcpufreq-devel'.
#
short_desc="libcpufreq - development tools"
long_desc="
This package provides everything that is needed for developing own
programs using libcpufreq."
Add_dependency run glibc-devel
Add_dependency run libcpufreq
do_install()
{
mkdir -p ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/{lib,include} ${DESTDIR}/usr
}

View file

@ -0,0 +1,13 @@
# Template file for 'libcpufreq'.
#
short_desc="Library for the kernel cpufreq subsystem"
long_desc="
This library provide an unified method to access the CPUFreq kernel interface."
Add_dependency run glibc
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/*.so.* ${DESTDIR}/usr/lib
}

View file

@ -0,0 +1,22 @@
# Template file for 'cpufrequtils'
pkgname=cpufrequtils
version=007
distfiles="${KERNEL_SITE}/utils/kernel/cpufreq/$pkgname-$version.tar.bz2"
build_style=gnu_makefile
make_build_args="V=1"
make_install_args="mandir=/usr/share/man"
short_desc="Userspace tools for the kernel cpufreq subsystem"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8af517369ad8a8ac40a9e47abe2e1970a9249932ab336367aaf8f68cd979dbad
long_desc="
Userspace tools for the kernel cpufreq subsystem."
subpackages="libcpufreq libcpufreq-devel"
Add_dependency run glibc
Add_dependency run libcpufreq
Add_dependency build gettext
pre_install()
{
sed -i "s|/usr/bin/install|/bin/install|g" ${wrksrc}/Makefile
}

1
srcpkgs/libcpufreq Symbolic link
View file

@ -0,0 +1 @@
cpufrequtils

1
srcpkgs/libcpufreq-devel Symbolic link
View file

@ -0,0 +1 @@
cpufrequtils

View file

@ -593,3 +593,4 @@ libsgutils2.so sg3_utils sg3_utils-devel
liblvm2app.so.2 liblvm2app liblvm2app-devel liblvm2app.so.2 liblvm2app liblvm2app-devel
libgdu.so gnome-disk-utility gnome-disk-utility-devel libgdu.so gnome-disk-utility gnome-disk-utility-devel
libgdu-gtk.so gnome-disk-utility gnome-disk-utility-devel libgdu-gtk.so gnome-disk-utility gnome-disk-utility-devel
libcpufreq.so libcpufreq libcpufreq-devel