wok-stable annotate lm-sensors/receipt @ rev 10863
Up: slitaz-doc (4.2) ready for RC
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 18 23:05:23 2011 +0200 (2011-06-18) |
parents | 34b95fc7d2cd |
children |
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 } |