wok-next annotate cpufrequtils/receipt @ rev 14960
Up: firefox (17.0.8esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Aug 08 22:19:37 2013 +0200 (2013-08-08) |
parents | af022550edde |
children | eb8067417980 |
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@7034 | 7 MAINTAINER="gokhlayeh@slitaz.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 } |