wok annotate cpufrequtils/receipt @ rev 6099

Add uclibc libs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 31 11:22:25 2010 +0200 (2010-08-31)
parents 3ec9d44d30f6
children ace6ca0bc2e1
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@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 }