wok rev 5741
Add: cpufrequtils
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Sun Jun 27 02:51:34 2010 +0200 (2010-06-27) |
parents | 1cbf99b1f007 |
children | 4bfdf17d2070 |
files | cpufrequtils-dev/receipt cpufrequtils/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cpufrequtils-dev/receipt Sun Jun 27 02:51:34 2010 +0200 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cpufrequtils-dev" 1.7 +VERSION="007" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Userspace tools for the kernel cpufreq subsystem devel files." 1.10 +MAINTAINER="gokhlayeh@mailoo.org" 1.11 +WANTED="cpufrequtils" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib $fs/usr 1.21 + # Remove non-devel files 1.22 + rm $fs/usr/lib/libcpufreq.so* 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/cpufrequtils/receipt Sun Jun 27 02:51:34 2010 +0200 2.3 @@ -0,0 +1,30 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="cpufrequtils" 2.7 +VERSION="007" 2.8 +CATEGORY="system" 2.9 +SHORT_DESC="Userspace tools for the kernel cpufreq subsystem." 2.10 +MAINTAINER="gokhlayeh@mailoo.org" 2.11 +DEPENDS="sysfsutils" 2.12 +BUILD_DEPENDS="libtool gettext sed" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.14 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" 2.15 +WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + make LIBTOOL_OPT="--silent --tag=CC" && make DESTDIR=$PWD/_pkg install 2.22 +} 2.23 + 2.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.25 +genpkg_rules() 2.26 +{ 2.27 + mkdir -p $fs/usr 2.28 + cp -a $_pkg/usr/bin $fs/usr 2.29 + cp -a $_pkg/usr/lib $fs/usr 2.30 + cp -a $_pkg/usr/share $fs/usr 2.31 + # Remove devel files 2.32 + rm $fs/usr/lib/libcpufreq.*a 2.33 +}