wok diff lm-sensors/receipt @ rev 14112

smbclient: fix too much newline that produced a 546 files smbclient package, sorry about that
author ernia <monghitri@aruba.it>
date Sun Feb 24 21:28:58 2013 +0000 (2013-02-24)
parents 9376616c10ac
children 408c87fa22ca
line diff
     1.1 --- a/lm-sensors/receipt	Tue Mar 29 01:31:00 2011 +0000
     1.2 +++ b/lm-sensors/receipt	Sun Feb 24 21:28:58 2013 +0000
     1.3 @@ -2,31 +2,33 @@
     1.4  
     1.5  PACKAGE="lm-sensors"
     1.6  SOURCE="lm_sensors"
     1.7 -VERSION="3.3.0"
     1.8 +VERSION="3.3.3"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Linux hardware monitoring."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.13 -DEPENDS="perl"
    1.14 -BUILD_DEPENDS="bison flex rrdtool-dev"
    1.15  SUGGESTED="rrdtool"
    1.16  WEB_SITE="http://www.lm-sensors.org/"
    1.17  WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL"
    1.18  
    1.19 +DEPENDS="perl linux-hwmon"
    1.20 +BUILD_DEPENDS="bison flex rrdtool-dev"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26 -	sed -i 's|/usr/local|/usr|' Makefile
    1.27 -	make && make DESTDIR=$PWD/_pkg install
    1.28 +	patch -p0 < $stuff/linux-3.0.patch &&
    1.29 +	make PREFIX=/usr && 
    1.30 +	make PREFIX=/usr PROG_EXTRA=sensord DESTDIR=$DESTDIR install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36  	mkdir -p $fs/usr/lib
    1.37 -	cp -a $_pkg/etc $fs
    1.38 -	cp -a $_pkg/usr/bin $fs/usr
    1.39 -	cp -a $_pkg/usr/sbin $fs/usr
    1.40 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.41 +	cp -a $install/etc $fs
    1.42 +	cp -a $install/usr/bin $fs/usr
    1.43 +	cp -a $install/usr/sbin $fs/usr
    1.44 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.45  }