wok annotate lm-sensors/receipt @ rev 22003

updated tahoe-lafs (1.10.1 -> 1.13.0)
author Hans-G?nter Theisgen
date Fri Oct 18 17:00:56 2019 +0100 (2019-10-18)
parents 22fd45e82f56
children a49eeb7de1ea
rev   line source
pascal@8855 1 # SliTaz package receipt.
pascal@8855 2
pascal@8855 3 PACKAGE="lm-sensors"
Hans-G?nter@21371 4 VERSION="3.5.0"
pascal@8855 5 CATEGORY="system-tools"
pascal@8855 6 SHORT_DESC="Linux hardware monitoring."
pascal@8855 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
Hans-G?nter@21371 9 WEB_SITE="https://hwmon.wiki.kernel.org/lm_sensors"
Hans-G?nter@21371 10
Hans-G?nter@21371 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21372 12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/V${VERSION//./-}.tar.gz"
Hans-G?nter@21371 13
pascal@8855 14 SUGGESTED="rrdtool"
Hans-G?nter@21371 15 DEPENDS="linux-hwmon perl"
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
Hans-G?nter@21371 23 # no longer required with kernel 3.16.55
Hans-G?nter@21371 24 # patch -p0 < $stuff/linux-3.0.patch &&
Hans-G?nter@21371 25
Hans-G?nter@21371 26 make install \
Hans-G?nter@21371 27 PREFIX=/usr \
Hans-G?nter@21371 28 PROG_EXTRA=sensord \
Hans-G?nter@21371 29 DESTDIR=$DESTDIR 2>&1 | \
Hans-G?nter@21371 30 sed 's/d: No such file/d: no such file/'
pascal@8855 31 }
pascal@8855 32
pascal@8855 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@8855 34 genpkg_rules()
pascal@8855 35 {
pascal@8855 36 mkdir -p $fs/usr/lib
Hans-G?nter@21371 37
Hans-G?nter@21371 38 cp -a $install/etc $fs
Hans-G?nter@21371 39 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21371 40 cp -a $install/usr/sbin $fs/usr
Hans-G?nter@21371 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@8855 42 }