wok view cpufrequtils/receipt @ rev 25335
updated libhtp and libhtp-dev (0.5.39 -> 0.5.40)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 23 17:39:36 2022 +0100 (2022-07-23) |
parents | 6e8b1bcb30e2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cpufrequtils"
4 VERSION="008"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userspace tools for the kernel cpufreq subsystem."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://mirrors.edge.kernel.org/pub/linux/utils/kernel/cpufreq/"
11 WGET_URL="https://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL"
13 DEPENDS="sysfsutils linux-cpufreq"
14 BUILD_DEPENDS="libtool gettext sed"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -nr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make LIBTOOL_OPT="--silent --tag=CC" &&
27 make DESTDIR=$DESTDIR mandir=/usr/share/man install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 cp -a $install/usr/share/locale $fs/usr/share
37 }