wok-6.x annotate cpufrequtils/receipt @ rev 21198
zfs-fuse: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 14:55:40 2019 +0200 (2019-04-06) |
parents | 86790a278e70 |
children | 71360a13cd94 |
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" |
pascal@20671 | 10 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/cpufreq/" |
pascal@20421 | 11 WGET_URL="https://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 { |
pascal@19284 | 19 make LIBTOOL_OPT="--silent --tag=CC" && |
pascal@19284 | 20 make DESTDIR=$DESTDIR mandir=/usr/share/man 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 { |
pascal@19287 | 26 mkdir -p $fs/usr/share |
pascal@15579 | 27 cp -a $install/usr/bin $fs/usr |
pascal@15579 | 28 cp -a $install/usr/lib $fs/usr |
pascal@19287 | 29 cp -a $install/usr/share/locale $fs/usr/share |
gokhlayeh@5741 | 30 } |