wok-6.x annotate lm-sensors/receipt @ rev 21107

updated lftp (4.4.8 -> 4.8.4)
author Hans-G?nter Theisgen
date Tue Mar 19 14:12:59 2019 +0100 (2019-03-19)
parents 3705d68ed8f3
children 22fd45e82f56
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@20672 12 WEB_SITE="https://github.com/lm-sensors/lm-sensors/issues/3"
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 }