wok-6.x annotate lm-sensors/receipt @ rev 20604
Up linux-libre (3.18.129)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Dec 17 23:42:42 2018 +0100 (2018-12-17) |
parents | e8c84b81fa04 |
children | 8dd8bab3f0ca |
rev | line source |
---|---|
pascal@8855 | 1 # SliTaz package receipt. |
pascal@8855 | 2 |
pascal@8855 | 3 PACKAGE="lm-sensors" |
pascal@8855 | 4 SOURCE="lm_sensors" |
pankso@13615 | 5 VERSION="3.3.3" |
pascal@8855 | 6 CATEGORY="system-tools" |
pascal@8855 | 7 SHORT_DESC="Linux hardware monitoring." |
pascal@8855 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15001 | 9 LICENSE="GPL2" |
pascal@8855 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pascal@8855 | 11 SUGGESTED="rrdtool" |
pascal@8855 | 12 WEB_SITE="http://www.lm-sensors.org/" |
pascal@8855 | 13 WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL" |
pascal@8855 | 14 |
pankso@13615 | 15 DEPENDS="perl linux-hwmon" |
pankso@13615 | 16 BUILD_DEPENDS="bison flex rrdtool-dev" |
pankso@13615 | 17 |
pascal@8855 | 18 # Rules to configure and make the package. |
pascal@8855 | 19 compile_rules() |
pascal@8855 | 20 { |
pascal@20212 | 21 sed -i 's|uname -m|echo i486|' Makefile |
pascal@19291 | 22 sed -i 's|/man|/share&|' Makefile |
pankso@13615 | 23 patch -p0 < $stuff/linux-3.0.patch && |
pascal@15309 | 24 make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install 2>&1 | \ |
pascal@15309 | 25 sed 's/d: No such file/d: no such file/' |
pascal@8855 | 26 } |
pascal@8855 | 27 |
pascal@8855 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@8855 | 29 genpkg_rules() |
pascal@8855 | 30 { |
pascal@8855 | 31 mkdir -p $fs/usr/lib |
pankso@13615 | 32 cp -a $install/etc $fs |
pankso@13615 | 33 cp -a $install/usr/bin $fs/usr |
pankso@13615 | 34 cp -a $install/usr/sbin $fs/usr |
pankso@13615 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@8855 | 36 } |