wok annotate smartmontools/receipt @ rev 4110

tazbb: add 'cook' command and update
author Christophe Lincoln <pankso@slitaz.org>
date Sat Sep 19 22:16:35 2009 +0200 (2009-09-19)
parents 6a9428a46323
children 4897058add72
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="smartmontools"
erjo@621 4 VERSION="5.38"
erjo@621 5 CATEGORY="system-tools"
erjo@621 6 SHORT_DESC="Monitors disk and tape health via S.M.A.R.T."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@621 8 DEPENDS=""
erjo@621 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@621 10 WEB_SITE="http://smartmontools.sourceforge.net/"
erjo@621 11 WGET_URL="http://garr.dl.sourceforge.net/sourceforge/smartmontools/$TARBALL"
erjo@621 12
erjo@621 13 # Rules to configure and make the package.
erjo@621 14 compile_rules()
erjo@621 15 {
erjo@621 16 cd $src
erjo@621 17 ./configure --prefix=/usr \
erjo@621 18 --sysconfdir=/etc $CONFIGURE_ARGS
erjo@621 19 make
erjo@621 20 make DESTDIR=$PWD/_pkg install
erjo@621 21 }
erjo@621 22
erjo@621 23 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@621 24 genpkg_rules()
erjo@621 25 {
erjo@621 26 mkdir -p $fs/usr $fs/etc/init.d
erjo@621 27 cp -a $_pkg/usr/sbin $fs/usr
erjo@621 28 cp $_pkg/etc/smartd.conf $fs/etc/smartd.conf
erjo@621 29 install -g root -o root -m 755 stuff/etc/init.d/smartd $fs/etc/init.d
erjo@621 30
erjo@621 31 }
erjo@621 32