wok-next annotate cpufrequtils/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a3c581bf52b8 |
children |
rev | line source |
---|---|
al@19759 | 1 # SliTaz package receipt v2. |
gokhlayeh@5741 | 2 |
gokhlayeh@5741 | 3 PACKAGE="cpufrequtils" |
gokhlayeh@5952 | 4 VERSION="008" |
gokhlayeh@5875 | 5 CATEGORY="system-tools" |
al@19759 | 6 SHORT_DESC="Userspace tools for the kernel cpufreq subsystem" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15579 | 8 LICENSE="GPL2" |
al@20906 | 9 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/cpufreq/" |
al@19759 | 10 |
al@19759 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20906 | 12 WGET_URL="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL" |
al@19759 | 13 TARBALL_SHA256="a2149db551f83112209b1a8e79bd50d386979bbf64edbc69126f4e0b4f0a4cab" |
gokhlayeh@5741 | 14 |
al@21020 | 15 BUILD_DEPENDS="libtool gettext-dev sed" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
pascal@15579 | 17 |
al@21020 | 18 compile_rules() { |
pascal@19284 | 19 make LIBTOOL_OPT="--silent --tag=CC" && |
al@21020 | 20 make DESTDIR=$install mandir=/usr/share/man install |
gokhlayeh@5741 | 21 } |
gokhlayeh@5741 | 22 |
al@21020 | 23 genpkg_rules() { |
al@19759 | 24 case $PACKAGE in |
al@19759 | 25 cpufrequtils) |
al@19759 | 26 copy @std *.mo |
al@19759 | 27 DEPENDS="sysfsutils linux-cpufreq" |
al@19759 | 28 ;; |
al@19759 | 29 *-dev) copy @dev;; |
al@19759 | 30 esac |
gokhlayeh@5741 | 31 } |