wok-next annotate cpufrequtils/receipt @ rev 16832
Up: menu-cache (0.5.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 12 15:05:49 2014 +0300 (2014-07-12) |
parents | fe1d4bd29615 |
children | e3270f32432e |
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" |
pascal@15579 | 8 LICENSE="GPL2" |
gokhlayeh@5741 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
gokhlayeh@5741 | 10 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" |
gokhlayeh@5741 | 11 WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL" |
gokhlayeh@5741 | 12 |
pascal@15579 | 13 DEPENDS="sysfsutils linux-cpufreq" |
pascal@15579 | 14 BUILD_DEPENDS="libtool gettext sed" |
pascal@15579 | 15 |
gokhlayeh@5741 | 16 # Rules to configure and make the package. |
gokhlayeh@5741 | 17 compile_rules() |
gokhlayeh@5741 | 18 { |
gokhlayeh@5741 | 19 cd $src |
pascal@15579 | 20 make LIBTOOL_OPT="--silent --tag=CC" && make DESTDIR=$DESTDIR install |
gokhlayeh@5741 | 21 } |
gokhlayeh@5741 | 22 |
gokhlayeh@5741 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@5741 | 24 genpkg_rules() |
gokhlayeh@5741 | 25 { |
gokhlayeh@5741 | 26 mkdir -p $fs/usr |
pascal@15579 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 28 cp -a $install/usr/lib $fs/usr |
pascal@15579 | 29 cp -a $install/usr/share $fs/usr |
gokhlayeh@5741 | 30 } |