wok-6.x annotate thermald/receipt @ rev 24929
updated mtools (4.0.23 -> 4.0.39)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 15:59:41 2022 +0100 (2022-04-13) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
yuripourre@16920 | 1 # SliTaz package receipt. |
yuripourre@16920 | 2 |
yuripourre@16920 | 3 PACKAGE="thermald" |
Hans-G?nter@23697 | 4 VERSION="1.9.1" |
yuripourre@16920 | 5 CATEGORY="system-tools" |
yuripourre@16920 | 6 LICENSE="GPL2" |
yuripourre@16920 | 7 SHORT_DESC="Linux thermal daemon (thermald) monitors and controls temperature." |
yuripourre@16920 | 8 MAINTAINER="yuripourre@gmail.com" |
Hans-G?nter@22026 | 9 WEB_SITE="https://01.org/linux-thermal-daemon" |
Hans-G?nter@22026 | 10 |
al@16923 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22026 | 12 WGET_URL="https://github.com/intel/thermal_daemon/archive/v$VERSION.tar.gz" |
yuripourre@16920 | 13 |
yuripourre@16920 | 14 DEPENDS="dbus dbus-glib" |
Hans-G?nter@22026 | 15 BUILD_DEPENDS="automake dbus-dev dbus-glib-dev libxml2" |
yuripourre@16920 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
yuripourre@16920 | 23 # Rules to configure and make the package. |
yuripourre@16920 | 24 compile_rules() |
yuripourre@16920 | 25 { |
Hans-G?nter@22026 | 26 # 1.0 |
Hans-G?nter@23697 | 27 # sed -i '322s|%lu|%u|' src/thd_zone.cpp |
Hans-G?nter@22026 | 28 |
Hans-G?nter@22026 | 29 ./autogen.sh && |
Hans-G?nter@22026 | 30 ./configure \ |
Hans-G?nter@22026 | 31 --prefix=/usr \ |
Hans-G?nter@22026 | 32 --sysconfdir=/etc \ |
yuripourre@16920 | 33 $CONFIGURE_ARGS && |
yuripourre@16920 | 34 make && |
yuripourre@16920 | 35 make DESTDIR=$DESTDIR install |
yuripourre@16920 | 36 } |
yuripourre@16920 | 37 |
yuripourre@16920 | 38 genpkg_rules() |
yuripourre@16920 | 39 { |
Hans-G?nter@23697 | 40 cp -a $install/usr $fs |
yuripourre@16920 | 41 } |