wok view smartmontools/receipt @ rev 18592
apache, lighttpd: do not stop the running web server
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 13 11:06:53 2015 +0100 (2015-11-13) |
parents | 1ef5ff7449cf |
children | d01348e6aa1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="smartmontools"
4 VERSION="5.41"
5 CATEGORY="system-tools"
6 SHORT_DESC="Monitors disk and tape health via S.M.A.R.T."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://smartmontools.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="gcc-lib-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --sysconfdir=/etc $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr $fs/etc/init.d
29 cp -a $install/usr/sbin $fs/usr
30 cp $install/etc/smartd.conf $fs/etc/smartd.conf
31 install -g root -o root -m 755 $stuff/etc/init.d/smartd $fs/etc/init.d
32 }