wok-current annotate cpufrequtils/receipt @ rev 5741

Add: cpufrequtils
author Antoine Bodin <gokhlayeh@mailoo.org>
date Sun Jun 27 02:51:34 2010 +0200 (2010-06-27)
parents
children 3ec9d44d30f6
rev   line source
gokhlayeh@5741 1 # SliTaz package receipt.
gokhlayeh@5741 2
gokhlayeh@5741 3 PACKAGE="cpufrequtils"
gokhlayeh@5741 4 VERSION="007"
gokhlayeh@5741 5 CATEGORY="system"
gokhlayeh@5741 6 SHORT_DESC="Userspace tools for the kernel cpufreq subsystem."
gokhlayeh@5741 7 MAINTAINER="gokhlayeh@mailoo.org"
gokhlayeh@5741 8 DEPENDS="sysfsutils"
gokhlayeh@5741 9 BUILD_DEPENDS="libtool gettext sed"
gokhlayeh@5741 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
gokhlayeh@5741 11 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
gokhlayeh@5741 12 WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL"
gokhlayeh@5741 13
gokhlayeh@5741 14 # Rules to configure and make the package.
gokhlayeh@5741 15 compile_rules()
gokhlayeh@5741 16 {
gokhlayeh@5741 17 cd $src
gokhlayeh@5741 18 make LIBTOOL_OPT="--silent --tag=CC" && make DESTDIR=$PWD/_pkg install
gokhlayeh@5741 19 }
gokhlayeh@5741 20
gokhlayeh@5741 21 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5741 22 genpkg_rules()
gokhlayeh@5741 23 {
gokhlayeh@5741 24 mkdir -p $fs/usr
gokhlayeh@5741 25 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@5741 26 cp -a $_pkg/usr/lib $fs/usr
gokhlayeh@5741 27 cp -a $_pkg/usr/share $fs/usr
gokhlayeh@5741 28 # Remove devel files
gokhlayeh@5741 29 rm $fs/usr/lib/libcpufreq.*a
gokhlayeh@5741 30 }