wok annotate lm-sensors/receipt @ rev 17340
slitaz-configs-base: force update; xorg-libXaw: disable-xaw6
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Nov 05 21:51:36 2014 +0100 (2014-11-05) |
parents | 408c87fa22ca |
children | e8c84b81fa04 |
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@8855 | 21 cd $src |
pankso@13615 | 22 patch -p0 < $stuff/linux-3.0.patch && |
pascal@15309 | 23 make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install 2>&1 | \ |
pascal@15309 | 24 sed 's/d: No such file/d: no such file/' |
pascal@8855 | 25 } |
pascal@8855 | 26 |
pascal@8855 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@8855 | 28 genpkg_rules() |
pascal@8855 | 29 { |
pascal@8855 | 30 mkdir -p $fs/usr/lib |
pankso@13615 | 31 cp -a $install/etc $fs |
pankso@13615 | 32 cp -a $install/usr/bin $fs/usr |
pankso@13615 | 33 cp -a $install/usr/sbin $fs/usr |
pankso@13615 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@8855 | 35 } |