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

libhx: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 18:00:11 2013 +0000 (2013-08-13)
parents a23fb65103d1
children 02bedd0cabb7
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 &&
pankso@13615 23 make PREFIX=/usr &&
pankso@13615 24 make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install
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 }