wok-next annotate cpufrequtils/receipt @ rev 20333

Up bmpanel2, urxvt, usbip
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 15 16:27:09 2017 +0200 (2017-11-15)
parents c060a4ab6c00
children a3c581bf52b8
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"
gokhlayeh@7034 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
al@19759 9 WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
al@19759 10
al@19759 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
gokhlayeh@5741 12 WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL"
al@19759 13 TARBALL_SHA256="a2149db551f83112209b1a8e79bd50d386979bbf64edbc69126f4e0b4f0a4cab"
gokhlayeh@5741 14
pascal@15579 15 BUILD_DEPENDS="libtool gettext sed"
al@19759 16 SPLIT="cpufrequtils-dev"
pascal@15579 17
gokhlayeh@5741 18 # Rules to configure and make the package.
gokhlayeh@5741 19 compile_rules()
gokhlayeh@5741 20 {
pascal@19284 21 make LIBTOOL_OPT="--silent --tag=CC" &&
al@19759 22 make DESTDIR=$DESTDIR mandir=/usr/share/man install
gokhlayeh@5741 23 }
gokhlayeh@5741 24
gokhlayeh@5741 25 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@5741 26 genpkg_rules()
gokhlayeh@5741 27 {
al@19759 28 case $PACKAGE in
al@19759 29 cpufrequtils)
al@19759 30 copy @std *.mo
al@19759 31 DEPENDS="sysfsutils linux-cpufreq"
al@19759 32 ;;
al@19759 33 *-dev) copy @dev;;
al@19759 34 esac
gokhlayeh@5741 35 }