wok-current annotate smartmontools/receipt @ rev 6205

Up: libgcrypt, libgcrypt-dev to 1.4.6.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Sep 11 01:06:10 2010 +0000 (2010-09-11)
parents a075ff895254
children 1ef5ff7449cf
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"
pascal@5007 8 DEPENDS="gcc-lib-base"
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 \
pascal@5007 18 --sysconfdir=/etc $CONFIGURE_ARGS &&
pascal@5007 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