wok-6.x diff cpufrequtils/receipt @ rev 5834
Up: xfdesktop* (4.6.2)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jul 16 08:09:21 2010 +0200 (2010-07-16) |
parents | |
children | 3ec9d44d30f6 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cpufrequtils/receipt Fri Jul 16 08:09:21 2010 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cpufrequtils" 1.7 +VERSION="007" 1.8 +CATEGORY="system" 1.9 +SHORT_DESC="Userspace tools for the kernel cpufreq subsystem." 1.10 +MAINTAINER="gokhlayeh@mailoo.org" 1.11 +DEPENDS="sysfsutils" 1.12 +BUILD_DEPENDS="libtool gettext sed" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" 1.15 +WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + make LIBTOOL_OPT="--silent --tag=CC" && make DESTDIR=$PWD/_pkg install 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr 1.28 + cp -a $_pkg/usr/bin $fs/usr 1.29 + cp -a $_pkg/usr/lib $fs/usr 1.30 + cp -a $_pkg/usr/share $fs/usr 1.31 + # Remove devel files 1.32 + rm $fs/usr/lib/libcpufreq.*a 1.33 +}