wok-6.x view cpufrequtils/receipt @ rev 8705
graphviz: improve receipt
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Feb 17 23:13:55 2011 +0100 (2011-02-17) |
parents | ace6ca0bc2e1 |
children | fe1d4bd29615 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cpufrequtils"
4 VERSION="008"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userspace tools for the kernel cpufreq subsystem."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="sysfsutils linux-cpufreq"
9 BUILD_DEPENDS="libtool gettext sed"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
12 WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make LIBTOOL_OPT="--silent --tag=CC" && make DESTDIR=$PWD/_pkg install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr
25 cp -a $_pkg/usr/bin $fs/usr
26 cp -a $_pkg/usr/lib $fs/usr
27 cp -a $_pkg/usr/share $fs/usr
28 # Remove devel files
29 rm $fs/usr/lib/libcpufreq.*a
30 }