wok-next diff lm-sensors/receipt @ rev 9127
Fixed gcc3 to only gcc-VERSION.tar.lzma source instead of gcc3-VERSION.tar.lzma. Also removed slitaz-toolchain in h8300-gcc3 build depends since we don't need it anymore.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 05 15:19:01 2011 +0000 (2011-03-05) |
parents | |
children | 9376616c10ac |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lm-sensors/receipt Sat Mar 05 15:19:01 2011 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lm-sensors" 1.7 +SOURCE="lm_sensors" 1.8 +VERSION="3.2.0" 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 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + sed -i 's|/usr/local|/usr|' Makefile 1.24 + make && make DESTDIR=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib 1.31 + cp -a $_pkg/etc $fs 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 + cp -a $_pkg/usr/sbin $fs/usr 1.34 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.35 +}