wok-current view thermald/receipt @ rev 24567
sokojs: add shrink.sh
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 15:02:05 2022 +0000 (2022-02-26) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="thermald"
4 VERSION="1.9.1"
5 CATEGORY="system-tools"
6 LICENSE="GPL2"
7 SHORT_DESC="Linux thermal daemon (thermald) monitors and controls temperature."
8 MAINTAINER="yuripourre@gmail.com"
9 WEB_SITE="https://01.org/linux-thermal-daemon"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/intel/thermal_daemon/archive/v$VERSION.tar.gz"
14 DEPENDS="dbus dbus-glib"
15 BUILD_DEPENDS="automake dbus-dev dbus-glib-dev libxml2"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # 1.0
27 # sed -i '322s|%lu|%u|' src/thd_zone.cpp
29 ./autogen.sh &&
30 ./configure \
31 --prefix=/usr \
32 --sysconfdir=/etc \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 genpkg_rules()
39 {
40 cp -a $install/usr $fs
41 }