wok-6.x annotate lm-sensors/receipt @ rev 10169
Up: perl-gtk2 to 1.222.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 21:47:51 2011 +0000 (2011-05-20) |
parents | 34b95fc7d2cd |
children | a23fb65103d1 |
rev | line source |
---|---|
pascal@8855 | 1 # SliTaz package receipt. |
pascal@8855 | 2 |
pascal@8855 | 3 PACKAGE="lm-sensors" |
pascal@8855 | 4 SOURCE="lm_sensors" |
slaxemulator@9410 | 5 VERSION="3.3.0" |
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 DEPENDS="perl" |
pascal@8855 | 11 BUILD_DEPENDS="bison flex rrdtool-dev" |
pascal@8855 | 12 SUGGESTED="rrdtool" |
pascal@8855 | 13 WEB_SITE="http://www.lm-sensors.org/" |
pascal@8855 | 14 WGET_URL="http://dl.lm-sensors.org/lm-sensors/releases/$TARBALL" |
pascal@8855 | 15 |
pascal@8855 | 16 # Rules to configure and make the package. |
pascal@8855 | 17 compile_rules() |
pascal@8855 | 18 { |
pascal@8855 | 19 cd $src |
pascal@8855 | 20 sed -i 's|/usr/local|/usr|' Makefile |
pascal@8855 | 21 make && make DESTDIR=$PWD/_pkg install |
pascal@8855 | 22 } |
pascal@8855 | 23 |
pascal@8855 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@8855 | 25 genpkg_rules() |
pascal@8855 | 26 { |
pascal@8855 | 27 mkdir -p $fs/usr/lib |
pascal@8855 | 28 cp -a $_pkg/etc $fs |
pascal@8855 | 29 cp -a $_pkg/usr/bin $fs/usr |
pascal@8855 | 30 cp -a $_pkg/usr/sbin $fs/usr |
pascal@8855 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@8855 | 32 } |