wok view thermald/receipt @ rev 25680

updated gnu-efi (3.0.14 -> 3.0.17)
author Hans-G?nter Theisgen
date Mon Mar 18 18:46:02 2024 +0100 (8 months ago)
parents 5ea0ce1cecc0
children 1b965c2713aa
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 }