wok-4.x rev 8855
Add lm-sensors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 25 10:33:19 2011 +0100 (2011-02-25) |
parents | 6355beac422f |
children | 5b164db9b982 |
files | lm-sensors-dev/receipt lm-sensors/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lm-sensors-dev/receipt Fri Feb 25 10:33:19 2011 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lm-sensors-dev" 1.7 +WANTED="lm-sensors" 1.8 +VERSION="3.2.0" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="Linux hardware monitoring, development files." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +WEB_SITE="http://www.lm-sensors.org/" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib 1.18 + cp -a $_pkg/usr/include $fs/usr 1.19 + cp -a $_pkg/usr/lib/*.a $fs/usr/lib 1.20 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/lm-sensors/receipt Fri Feb 25 10:33:19 2011 +0100 2.3 @@ -0,0 +1,32 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="lm-sensors" 2.7 +SOURCE="lm_sensors" 2.8 +VERSION="3.2.0" 2.9 +CATEGORY="system-tools" 2.10 +SHORT_DESC="Linux hardware monitoring." 2.11 +MAINTAINER="pascal.bellard@slitaz.org" 2.12 +TARBALL="$SOURCE-$VERSION.tar.bz2" 2.13 +DEPENDS="perl" 2.14 +BUILD_DEPENDS="bison flex rrdtool-dev" 2.15 +SUGGESTED="rrdtool" 2.16 +WEB_SITE="http://www.lm-sensors.org/" 2.17 +WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL" 2.18 + 2.19 +# Rules to configure and make the package. 2.20 +compile_rules() 2.21 +{ 2.22 + cd $src 2.23 + sed -i 's|/usr/local|/usr|' Makefile 2.24 + make && make DESTDIR=$PWD/_pkg install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/lib 2.31 + cp -a $_pkg/etc $fs 2.32 + cp -a $_pkg/usr/bin $fs/usr 2.33 + cp -a $_pkg/usr/sbin $fs/usr 2.34 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.35 +}