wok-4.x annotate cpufrequtils/receipt @ rev 6502

Up: python-tempita to 0.5dev
author Julien Rabier <taziden@slitaz.org>
date Fri Oct 01 20:54:24 2010 +0000 (2010-10-01)
parents 8989c53558ba
children af022550edde
rev   line source
gokhlayeh@5741 1 # SliTaz package receipt.
gokhlayeh@5741 2
gokhlayeh@5741 3 PACKAGE="cpufrequtils"
gokhlayeh@5952 4 VERSION="008"
gokhlayeh@5875 5 CATEGORY="system-tools"
gokhlayeh@5741 6 SHORT_DESC="Userspace tools for the kernel cpufreq subsystem."
gokhlayeh@5741 7 MAINTAINER="gokhlayeh@mailoo.org"
gokhlayeh@6434 8 DEPENDS="sysfsutils linux-cpufreq"
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 }