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

syslinux: add isohybrid.exe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 04 09:52:12 2013 +0100 (2013-03-04)
parents 9376616c10ac
children 408c87fa22ca
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@8855 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@8855 10 SUGGESTED="rrdtool"
pascal@8855 11 WEB_SITE="http://www.lm-sensors.org/"
pascal@8855 12 WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"
pascal@8855 13
pankso@13615 14 DEPENDS="perl linux-hwmon"
pankso@13615 15 BUILD_DEPENDS="bison flex rrdtool-dev"
pankso@13615 16
pascal@8855 17 # Rules to configure and make the package.
pascal@8855 18 compile_rules()
pascal@8855 19 {
pascal@8855 20 cd $src
pankso@13615 21 patch -p0 < $stuff/linux-3.0.patch &&
pankso@13615 22 make PREFIX=/usr &&
pankso@13615 23 make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install
pascal@8855 24 }
pascal@8855 25
pascal@8855 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@8855 27 genpkg_rules()
pascal@8855 28 {
pascal@8855 29 mkdir -p $fs/usr/lib
pankso@13615 30 cp -a $install/etc $fs
pankso@13615 31 cp -a $install/usr/bin $fs/usr
pankso@13615 32 cp -a $install/usr/sbin $fs/usr
pankso@13615 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@8855 34 }