wok annotate smartmontools/receipt @ rev 13106

Up: ardour to 2.8.12.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 26 18:39:56 2012 +0000 (2012-06-26)
parents 4897058add72
children 3b4e4318134e
rev   line source
erjo@621 1 # SliTaz package receipt.
erjo@621 2
erjo@621 3 PACKAGE="smartmontools"
slaxemulator@11038 4 VERSION="5.41"
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/"
slaxemulator@11038 11 WGET_URL="$SF_MIRROR/$PACKAGE/$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 &&
slaxemulator@11038 20 make DESTDIR=$DESTDIR 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
slaxemulator@11038 29 install -g root -o root -m 755 $stuff/etc/init.d/smartd $fs/etc/init.d
erjo@621 30 }
erjo@621 31