wok-6.x view thermald/receipt @ rev 25527
created recipes for libmpack and libmpack-dev 1.0.5
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:28:19 2023 +0100 (20 months ago) |
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 }